SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit a6c8a3e6 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix property not callable

parent e8d13786
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,4 @@ def is_edcol_admin(user):
Assign template variable (boolean) to check if user is Editorial Administator.
This assignment is limited to a certain context block!
"""
return user.groups.filter(name='Editorial Administrators').exists() or user.is_superuser()
return user.groups.filter(name='Editorial Administrators').exists() or user.is_superuser
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