diff --git a/oj/settings.py b/oj/settings.py index b994539..2784b6e 100644 --- a/oj/settings.py +++ b/oj/settings.py @@ -225,7 +225,7 @@ def redis_config(db): CACHES = {"default": redis_config(db=1)} -SESSION_ENGINE = "django.contrib.sessions.backends.cache" +SESSION_ENGINE = "django.contrib.sessions.backends.cached_db" SESSION_CACHE_ALIAS = "default" # Channels Configuration