From afa4e881e95a11ffb2e351f6f2faa6b7d9818afd 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 ---------
2 files changed, 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 |