fix session problem

This commit is contained in:
Walter 2025-03-07 20:30:58 +01:00
parent b8eb851cd2
commit ddada0abaa

View File

@ -140,6 +140,10 @@ USE_L10N = True
USE_TZ = True USE_TZ = True
# 1 month
SESSION_COOKIE_AGE = 60 * 60 * 24 * 4
# Refresh every visit
SESSION_SAVE_EVERY_REQUEST = True
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.2/howto/static-files/ # https://docs.djangoproject.com/en/3.2/howto/static-files/