diff --git a/configurations/decorators.py b/configurations/decorators.py index cb51197..6ea2738 100644 --- a/configurations/decorators.py +++ b/configurations/decorators.py @@ -9,7 +9,7 @@ def pristine(func): class Develop(Settings): @pristine - USER_CHECK(user): + def USER_CHECK(user): return user.check_perms() GROUP_CHECK = pristine(lambda user: user.has_group_access())