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.
Please register or sign in to comment