Commit b71a2443 by Tom Christie

Merge pull request #68 from masont/master

Changed user.is_staff() to user.is_staff
parents 05423824 c5063728
......@@ -73,7 +73,7 @@ class IsAdminUser(BasePermission):
"""
def check_permission(self, user):
if not user.is_staff():
if not user.is_staff:
raise _403_FORBIDDEN_RESPONSE
......
Markdown is supported
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