heroku / django-heroku

[DEPRECATED] Do not use! See https://github.com/heroku/django-heroku/issues/56
BSD 3-Clause "New" or "Revised" License
459 stars 142 forks source link

add whitenoise after Django SecurityMiddleware #35

Open ntravis opened 5 years ago

ntravis commented 5 years ago

This is the recommended approach from whitenoise. Updated the handling of the change in middleware classes to avoid one try/catch block in favor of another (removing a potential duplication requirement)

superandrew commented 5 years ago

+1