Skip to content
Snippets Groups Projects
Verified Commit 847368b8 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
Loading
Pipeline #5299 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