fix session problem
This commit is contained in:
parent
b8eb851cd2
commit
ddada0abaa
@ -140,6 +140,10 @@ USE_L10N = 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)
|
||||
# https://docs.djangoproject.com/en/3.2/howto/static-files/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user