summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/settings.txt27
1 files changed, 14 insertions, 13 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index d6da94ff7d..360fd7dcaf 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -2795,9 +2795,14 @@ The URL where requests are redirected after login when the
This is used by the :func:`~django.contrib.auth.decorators.login_required`
decorator, for example.
-This setting also accepts view function names and :ref:`named URL patterns
-<naming-url-patterns>` which can be used to reduce configuration duplication
-since you don't have to define the URL in two places (``settings`` and URLconf).
+This setting also accepts :ref:`named URL patterns <naming-url-patterns>` which
+can be used to reduce configuration duplication since you don't have to define
+the URL in two places (``settings`` and URLconf).
+
+.. deprecated:: 1.8
+
+ The setting may also be a dotted Python path to a view function. Support
+ for this will be removed in Django 1.10.
.. setting:: LOGIN_URL
@@ -2809,18 +2814,14 @@ Default: ``'/accounts/login/'``
The URL where requests are redirected for login, especially when using the
:func:`~django.contrib.auth.decorators.login_required` decorator.
-This setting also accepts view function names and :ref:`named URL patterns
-<naming-url-patterns>` which can be used to reduce configuration duplication
-since you don't have to define the URL in two places (``settings`` and URLconf).
-
-.. setting:: LOGOUT_URL
+This setting also accepts :ref:`named URL patterns <naming-url-patterns>` which
+can be used to reduce configuration duplication since you don't have to define
+the URL in two places (``settings`` and URLconf).
-LOGOUT_URL
-----------
-
-Default: ``'/accounts/logout/'``
+.. deprecated:: 1.8
-LOGIN_URL counterpart.
+ The setting may also be a dotted Python path to a view function. Support
+ for this will be removed in Django 1.10.
.. setting:: PASSWORD_RESET_TIMEOUT_DAYS