Hi,
django.middleware.security.SecurityMiddleware is missing in your settings.py
file in the middleware section.
Read the Django docs for more details on what they each one of the security
options do.
https://docs.djangoproject.com/en/2.0/ref/middleware/
Sent from my mobile device
> On
I get these two messages after running `python manage.py check --deploy`
?: (security.W001) You do not have
'django.middleware.security.SecurityMiddleware' in your MIDDLEWARE_CLASSES
so the SECURE_HSTS_SECONDS, SECURE_CONTENT_TYPE_NOSNIFF,
SECURE_BROWSER_XSS_FILTER, and SECURE_SSL_REDIRECT
2 matches
Mail list logo