From 3c3ba168119591c280f4abe4683f5acf4baa5c7d Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Sat, 9 Sep 2023 16:31:49 +0200 Subject: [PATCH] middleware: Fix ordering again --- spejstore/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spejstore/settings.py b/spejstore/settings.py index ecb1b77..dbeab2c 100644 --- a/spejstore/settings.py +++ b/spejstore/settings.py @@ -65,10 +65,10 @@ MIDDLEWARE = [ "django.middleware.cache.UpdateCacheMiddleware", "django.middleware.gzip.GZipMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", - "storage.middleware.is_authorized_or_in_lan_middleware", "django.middleware.common.CommonMiddleware", "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", + "storage.middleware.is_authorized_or_in_lan_middleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "social_django.middleware.SocialAuthExceptionMiddleware",