1👍
✅
In the MIDDLEWARE_CLASSES of settings.py, you have 'django.middleware.security.SecurityMiddleware',
, which is new in Django 1.8. Either make sure Heroku is using Django 1.8, or remove that line from MIDDLEWARE_CLASSES.
Source:stackexchange.com