Commit 59f861fc authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #25918 -- Removed unused LOGOUT_URL setting.

Thanks hop for the report and patch.
parent ffcdb0b4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -481,8 +481,6 @@ AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']

LOGIN_URL = '/accounts/login/'

LOGOUT_URL = '/accounts/logout/'

LOGIN_REDIRECT_URL = '/accounts/profile/'

# The number of days a password reset link is valid for
+0 −9
Original line number Diff line number Diff line
@@ -2637,15 +2637,6 @@ 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

LOGOUT_URL
----------

Default: ``'/accounts/logout/'``

LOGIN_URL counterpart.

.. setting:: PASSWORD_RESET_TIMEOUT_DAYS

PASSWORD_RESET_TIMEOUT_DAYS
+4 −0
Original line number Diff line number Diff line
@@ -350,6 +350,10 @@ Miscellaneous
* ``utils.version.get_version()`` returns :pep:`440` compliant release
  candidate versions (e.g. '1.10rc1' instead of '1.10c1').

* The ``LOGOUT_URL`` setting is removed as Django hasn't made use of it
  since pre-1.0. If you use it in your project, you can add it to your
  project's settings. The default value was ``'/accounts/login/'``.

.. _deprecated-features-1.10:

Features deprecated in 1.10