Commit 33a26a76 by Tom Christie

Typo

parent 73019f91
...@@ -26,7 +26,7 @@ As with view level permissions, an `exceptions.PermissionDenied` exception will ...@@ -26,7 +26,7 @@ As with view level permissions, an `exceptions.PermissionDenied` exception will
If you're writing your own views and want to enforce object level permissions, If you're writing your own views and want to enforce object level permissions,
you'll need to explicitly call the `.check_object_permissions(request, obj)` method on the view at the point at which you've retrieved the object. you'll need to explicitly call the `.check_object_permissions(request, obj)` method on the view at the point at which you've retrieved the object.
This will either raise a `PermissionDenied` or `NotAuthenticated` exception, or simply return if the view has the appropraite permissions. This will either raise a `PermissionDenied` or `NotAuthenticated` exception, or simply return if the view has the appropriate permissions.
## Setting the permission policy ## Setting the permission policy
......
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