I followed instructions of Heroku devcenter:
MIDDLEWARE = [ # SecurityMiddleware must be listed before other middleware \'django.middleware.security.S