Don't store messages in the cookies
This commit is contained in:
Родитель
6c42c3a588
Коммит
df50c39bef
|
@ -427,6 +427,7 @@ REDIRECT_SECRET_KEY = ''
|
|||
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
|
||||
SESSION_COOKIE_AGE = 1209600
|
||||
SESSION_COOKIE_SECURE = True
|
||||
MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
|
||||
|
||||
# These should have app+locale at the start to avoid redirects
|
||||
LOGIN_URL = "/users/login"
|
||||
|
|
Загрузка…
Ссылка в новой задаче