From 54a9b7389355119cc142ed61bdf3641c99630a60 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 7 Apr 2023 11:34:10 +0200 Subject: Default timeout for session is set to 5 days --- example_project/settings.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'example_project/settings.py') 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 = "" -- cgit v1.2.3