[Patchew-devel] [PATCH 03/11] settings: Remove SessionAuthenticationMiddleware
fam at euphon.net
fam at euphon.net
Fri Sep 25 15:42:35 UTC 2020
From: Fam Zheng <fam at euphon.net>
The django doc said this is unused (unconditional), and the object is
not present in newer djangos:
https://docs.djangoproject.com/en/3.1/releases/2.0/
---
patchew/settings.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/patchew/settings.py b/patchew/settings.py
index e851a4c..ce21eee 100644
--- a/patchew/settings.py
+++ b/patchew/settings.py
@@ -58,7 +58,6 @@ MIDDLEWARE = [
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
- "django.contrib.auth.middleware.SessionAuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
--
2.25.1
More information about the Patchew-devel
mailing list