From 4af186a1abfb75346eb5cde752ccf5ad478f8c72 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sun, 24 May 2026 21:20:08 -0600 Subject: [PATCH] revert --- oj/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oj/settings.py b/oj/settings.py index 2784b6e..b994539 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.cached_db" +SESSION_ENGINE = "django.contrib.sessions.backends.cache" SESSION_CACHE_ALIAS = "default" # Channels Configuration