diff options
| author | Tom Christie | 2012-09-13 09:39:16 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-09-13 09:39:16 +0100 |
| commit | b16c45aa6dfb5937d01f0c89273cd24f5e729f60 (patch) | |
| tree | 5182360400b8d0fa1740020d8164d40b9bbfaf8a /docs/api-guide/permissions.md | |
| parent | 003a65f0e094e59b5462fcd0607bf290d80cc5aa (diff) | |
| download | django-rest-framework-b16c45aa6dfb5937d01f0c89273cd24f5e729f60.tar.bz2 | |
Tweak throttling/permissions/auth docs
Diffstat (limited to 'docs/api-guide/permissions.md')
| -rw-r--r-- | docs/api-guide/permissions.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/api-guide/permissions.md b/docs/api-guide/permissions.md index bd107462..8d5e5140 100644 --- a/docs/api-guide/permissions.md +++ b/docs/api-guide/permissions.md @@ -12,8 +12,9 @@ Permission checks are always run at the very start of the view, before any other ## How permissions are determined -Permissions in REST framework are always defined as a list of permission classes. Before running the main body of the view each permission in the list is checked. +Permissions in REST framework are always defined as a list of permission classes. +Before running the main body of the view each permission in the list is checked. If any permission check fails an `exceptions.PermissionDenied` exception will be raised, and the main body of the view will not run. ## Object level permissions |
