session timeout 4 days

This commit is contained in:
2024-03-05 10:17:56 +01:00
parent e5a3038e77
commit c8a649a039
+2 -1
View File
@@ -37,7 +37,6 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django_htmx.middleware.HtmxMiddleware',
]
ROOT_URLCONF = 'muzak.urls'
TEMPLATES = [
@@ -102,3 +101,5 @@ USE_I18N = True
USE_TZ = True
STATIC_URL = 'static/'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
SESSION_COOKIE_AGE = 60*60*24*4