Commit 65d4970b by Marko Tibold

Changed IsAdmin -> IsAdminUser in example

parent 71a93930
......@@ -27,7 +27,7 @@ For example:
* Only admin users are able to access this view.
"""
authentication_classes = (authentication.TokenAuthentication,)
permission_classes = (permissions.IsAdmin,)
permission_classes = (permissions.IsAdminUser,)
def get(self, request, format=None):
"""
......
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