I tried this
MIDDLEWARE = [ # SecurityMiddleware must be listed before other middleware \'django.middleware.security.SecurityMiddleware\', # ... ] SE