From c707034649fa9e24f0c6c3c0580dc06f90eac373 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 6 Sep 2012 15:57:16 +0100 Subject: Add more settings to settings.py --- docs/api-guide/settings.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'docs') 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. -- cgit v1.2.3