mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
Remove unused setting LOGOUT_URL
Django 1.10 officially does not use the setting LOGOUT_URL anymore. Django stronghold incorrectly uses it as a URL rather than named url.
This commit is contained in:
parent
09ba42aa7c
commit
2f1fe8af22
@ -217,7 +217,6 @@ def configure_django():
|
|||||||
LOGGING=logging_configuration,
|
LOGGING=logging_configuration,
|
||||||
LOGIN_URL='users:login',
|
LOGIN_URL='users:login',
|
||||||
LOGIN_REDIRECT_URL='apps:index',
|
LOGIN_REDIRECT_URL='apps:index',
|
||||||
LOGOUT_URL='users:logout',
|
|
||||||
MESSAGE_TAGS={message_constants.ERROR: 'danger'},
|
MESSAGE_TAGS={message_constants.ERROR: 'danger'},
|
||||||
MIDDLEWARE_CLASSES=(
|
MIDDLEWARE_CLASSES=(
|
||||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user