From a6c8a3e6553ae6eb54e358c901beac532d566523 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Sat, 7 Oct 2017 16:26:06 +0200 Subject: [PATCH] Fix property not callable --- scipost/templatetags/user_groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipost/templatetags/user_groups.py b/scipost/templatetags/user_groups.py index eac1a8b14..408837b36 100644 --- a/scipost/templatetags/user_groups.py +++ b/scipost/templatetags/user_groups.py @@ -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 -- GitLab