Resolve "`aleksis-admin yarn install` needs a database"
Compare changes
- Nik | Klampfradler authored
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.
@@ -151,13 +151,13 @@ def has_lesson_group_object_perm(perm: str):
@@ -177,12 +177,12 @@ def has_personal_note_group_perm(perm: str):