Merge pull request #68 from masont/master

Changed user.is_staff() to user.is_staff
This commit is contained in:
Tom Christie 2011-08-24 01:32:00 -07:00
commit b71a24437a

View File

@ -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