use session_cookie_name

This commit is contained in:
aatish 2018-11-17 11:21:18 +05:45
parent 3fd4273b5f
commit 3a76ab9a76

View file

@ -143,6 +143,11 @@ ROOT_URLCONF = 'ipv6work.urls'
LOGIN_REDIRECT_URL = FORCE_SCRIPT_NAME LOGIN_REDIRECT_URL = FORCE_SCRIPT_NAME
LOGOUT_REDIRECT_URL = FORCE_SCRIPT_NAME LOGOUT_REDIRECT_URL = FORCE_SCRIPT_NAME
# This is necessary because when accessing from dynamicweb.ungleich.ch,
# the browser tries to access 'favicon.ico' which resets the session as
# another Django app (dynamicweb) is running on /.
SESSION_COOKIE_NAME = 'session-ipv6-work'
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/2.1/topics/i18n/ # https://docs.djangoproject.com/en/2.1/topics/i18n/