diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-04-07 11:34:10 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-04-17 15:47:16 +0200 |
commit | 54a9b7389355119cc142ed61bdf3641c99630a60 (patch) | |
tree | 2c02aed41ba38e54ec4a242f5a25829c569e64e5 /example_project | |
parent | 5b04cd656e01969646f3398ee89a1b3bb550cb54 (diff) | |
download | Ishtar-54a9b7389355119cc142ed61bdf3641c99630a60.tar.bz2 Ishtar-54a9b7389355119cc142ed61bdf3641c99630a60.zip |
Default timeout for session is set to 5 days
Diffstat (limited to 'example_project')
-rw-r--r-- | example_project/settings.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 7e0b8a0da..25a60fb93 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -188,6 +188,9 @@ INSTALLED_APPS = [ USE_TRANSLATION_OVERLOAD = True TRANSLATION_OVERLOAD_DEBUG = False +SESSION_EXPIRE_AT_BROWSER_CLOSE = False +SESSION_COOKIE_AGE = 5 * 24 * 60 * 60 + MAIN_APP = "" LOGFILE = "" |