Skip to content

Commit

Permalink
Edited djangorestframework/permissions.py via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Jul 19, 2011
1 parent f29e2fc commit b9fcea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangorestframework/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class IsAdminUser(BasePermission):
"""

def check_permission(self, user):
if not user.is_admin():
if not user.is_staff():
raise _403_FORBIDDEN_RESPONSE


Expand Down

0 comments on commit b9fcea0

Please sign in to comment.