aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/permissions.md
diff options
context:
space:
mode:
authorTom Christie2012-10-18 04:46:01 -0700
committerTom Christie2012-10-18 04:46:01 -0700
commit0c65d9babee24f7c772dde2fc98ea4fdcb2ab6aa (patch)
treeffb4daf6f46779711b0d6e9619f85a96b80a51a9 /docs/api-guide/permissions.md
parente8f542aac88677cd95c473d56511cadbc0c67813 (diff)
parentfed235dd0135c3eb98bb218a51f01ace5ddd3782 (diff)
downloaddjango-rest-framework-0c65d9babee24f7c772dde2fc98ea4fdcb2ab6aa.tar.bz2
Merge pull request #304 from tomchristie/consitent_settings
Make settings consistent with corrosponding view attributes
Diffstat (limited to 'docs/api-guide/permissions.md')
-rw-r--r--docs/api-guide/permissions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/permissions.md b/docs/api-guide/permissions.md
index b25b52be..249f3938 100644
--- a/docs/api-guide/permissions.md
+++ b/docs/api-guide/permissions.md
@@ -25,10 +25,10 @@ Object level permissions are run by REST framework's generic views when `.get_ob
## Setting the permission policy
-The default permission policy may be set globally, using the `DEFAULT_PERMISSIONS` setting. For example.
+The default permission policy may be set globally, using the `DEFAULT_PERMISSION_CLASSES` setting. For example.
REST_FRAMEWORK = {
- 'DEFAULT_PERMISSIONS': (
+ 'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated',
)
}