From 88a215e916b073fdbe467c478846802e78b963e3 Mon Sep 17 00:00:00 2001
From: Christoph Schindler <hop@30hopsmax.at>
Date: Fri, 11 Dec 2015 16:25:32 +0100
Subject: [PATCH] Fixed #25918 -- Removed LOGOUT_URL from global settings and
documentation.
---
django/conf/global_settings.py | 2 --
docs/ref/settings.txt | 9 ---------
docs/releases/1.10.txt | 6 ++++++
3 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py
index b85d355..cbcf5b4 100644
a
|
b
|
AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
|
481 | 481 | |
482 | 482 | LOGIN_URL = '/accounts/login/' |
483 | 483 | |
484 | | LOGOUT_URL = '/accounts/logout/' |
485 | | |
486 | 484 | LOGIN_REDIRECT_URL = '/accounts/profile/' |
487 | 485 | |
488 | 486 | # The number of days a password reset link is valid for |
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 491e888..fc5ef44 100644
a
|
b
|
This setting also accepts view function names and :ref:`named URL patterns
|
2637 | 2637 | <naming-url-patterns>` which can be used to reduce configuration duplication |
2638 | 2638 | since you don't have to define the URL in two places (``settings`` and URLconf). |
2639 | 2639 | |
2640 | | .. setting:: LOGOUT_URL |
2641 | | |
2642 | | LOGOUT_URL |
2643 | | ---------- |
2644 | | |
2645 | | Default: ``'/accounts/logout/'`` |
2646 | | |
2647 | | LOGIN_URL counterpart. |
2648 | | |
2649 | 2640 | .. setting:: PASSWORD_RESET_TIMEOUT_DAYS |
2650 | 2641 | |
2651 | 2642 | PASSWORD_RESET_TIMEOUT_DAYS |
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt
index e86a061..491b7d4 100644
a
|
b
|
Backwards incompatible changes in 1.10
|
278 | 278 | your code within the deprecation timeline for a given feature, its removal |
279 | 279 | may appear as a backwards incompatible change. |
280 | 280 | |
| 281 | Settings |
| 282 | ^^^^^^^^ |
| 283 | |
| 284 | * The ``LOGOUT_URL`` setting has been removed. If you use this in your |
| 285 | project, you can add it to your local configuration. |
| 286 | |
281 | 287 | Database backend API |
282 | 288 | ~~~~~~~~~~~~~~~~~~~~ |
283 | 289 | |