I\'m hosting my Django application on Heroku and using whitenoise to handle serving static files.
Following is con
The Whitenoise middleware should come after the security middleware and before all other middleware. You are currently adding it to the end.