From e6533e541de72ba4fcdf9f1fc28794ceb051fe33 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Mon, 24 Apr 2023 17:16:47 +1000 Subject: [PATCH] Enable Django security middleware --- pinaxcon/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pinaxcon/settings.py b/pinaxcon/settings.py index cd080512..d6c2e04a 100644 --- a/pinaxcon/settings.py +++ b/pinaxcon/settings.py @@ -178,6 +178,7 @@ TEMPLATES = [ ] MIDDLEWARE = [ + "django.middleware.security.SecurityMiddleware", "whitenoise.middleware.WhiteNoiseMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "django.middleware.common.CommonMiddleware",