Unverified Commit b8eceaac authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Fix backend check

parent db51b4d4
......@@ -27,7 +27,7 @@ class CommitteeBackend(object):
return set()
if not hasattr(user, perm_cache_name):
perms = (Permission.objects
.values_list('content_type__app_label', 'codename')
setattr(user, perm_cache_name,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment