aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/settings.md
diff options
context:
space:
mode:
authorTom Christie2012-09-06 15:57:16 +0100
committerTom Christie2012-09-06 15:57:16 +0100
commitc707034649fa9e24f0c6c3c0580dc06f90eac373 (patch)
tree90bdb2411f1dbaccbf95ba440dba1029cc019526 /docs/api-guide/settings.md
parent74c50b953557ea283a6cd601ad3656379369eb47 (diff)
downloaddjango-rest-framework-c707034649fa9e24f0c6c3c0580dc06f90eac373.tar.bz2
Add more settings to settings.py
Diffstat (limited to 'docs/api-guide/settings.md')
-rw-r--r--docs/api-guide/settings.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/api-guide/settings.md b/docs/api-guide/settings.md
index fd35fbc6..882571e1 100644
--- a/docs/api-guide/settings.md
+++ b/docs/api-guide/settings.md
@@ -40,19 +40,13 @@ Default:
A list or tuple of authentication classes, that determines the default set of authenticators used when accessing the `request.user` or `request.auth` properties.
-Default if `DEBUG` is `True`:
+Default:
(
'djangorestframework.authentication.SessionAuthentication',
'djangorestframework.authentication.UserBasicAuthentication'
)
-Default if `DEBUG` is `False`:
-
- (
- 'djangorestframework.authentication.SessionAuthentication',
- )
-
## DEFAULT_PERMISSIONS
A list or tuple of permission classes, that determines the default set of permissions checked at the start of a view.