From b16c45aa6dfb5937d01f0c89273cd24f5e729f60 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 13 Sep 2012 09:39:16 +0100 Subject: Tweak throttling/permissions/auth docs --- docs/api-guide/permissions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/api-guide/permissions.md') 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 -- cgit v1.2.3