Re: Trying to understand two messages from `manage.py check --deploy`

2018-04-24 Thread James Farris
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

Trying to understand two messages from `manage.py check --deploy`

2018-04-23 Thread Tom Tanner
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