Skip to content
Snippets Groups Projects
Verified Commit 93c6d3bb 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
Branches 126-aleksis-admin-yarn-install-needs-a-database
No related tags found
1 merge request!122Resolve "`aleksis-admin yarn install` needs a database"
Pipeline #5306 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment