Enable Django security middleware
This commit is contained in:
parent
2680b25f2c
commit
e6533e541d
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ TEMPLATES = [
|
|||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
"django.middleware.security.SecurityMiddleware",
|
||||
"whitenoise.middleware.WhiteNoiseMiddleware",
|
||||
"django.contrib.sessions.middleware.SessionMiddleware",
|
||||
"django.middleware.common.CommonMiddleware",
|
||||
|
|
Loading…
Reference in a new issue