Skip to content
Snippets Groups Projects
Verified Commit 59c00f14 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Look up content type amd permissions inside generated function

Closes #126 — module loading must not have side effects, and
generating the predicates calls the database.

Under normal operation, cache_memoize and/or django-cachalot ensure
the database lookup is not done on every permission check.
parent 891584bf
No related branches found
No related tags found
No related merge requests found
Pipeline #5303 failed