aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/authentication.md
diff options
context:
space:
mode:
authorTom Christie2012-10-17 23:09:11 +0100
committerTom Christie2012-10-17 23:09:11 +0100
commitfed235dd0135c3eb98bb218a51f01ace5ddd3782 (patch)
treed3ac6bee7dd477461ec545b5fd4405ce66c047b5 /docs/api-guide/authentication.md
parente126b615420fed12af58675cb4bb52e749b006bd (diff)
downloaddjango-rest-framework-fed235dd0135c3eb98bb218a51f01ace5ddd3782.tar.bz2
Make settings consistent with corrosponding view attributes
Diffstat (limited to 'docs/api-guide/authentication.md')
-rw-r--r--docs/api-guide/authentication.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md
index 71f48163..5e5ee4ed 100644
--- a/docs/api-guide/authentication.md
+++ b/docs/api-guide/authentication.md
@@ -26,10 +26,10 @@ The value of `request.user` and `request.auth` for unauthenticated requests can
## Setting the authentication policy
-The default authentication policy may be set globally, using the `DEFAULT_AUTHENTICATION` setting. For example.
+The default authentication policy may be set globally, using the `DEFAULT_AUTHENTICATION_CLASSES` setting. For example.
REST_FRAMEWORK = {
- 'DEFAULT_AUTHENTICATION': (
+ 'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.UserBasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
)