Whitenoise middlewear not included
adnmcq opened this issue · 1 comments
adnmcq commented
Is there a reason why 'whitenoise.middleware.WhiteNoiseMiddleware', is ot included in MIDDLEWARE in settings.py?
tyrion commented
The reason would be that django_heroku
automatically takes care of this for you, but actually the middleware is also added to settings.py
(See: https://github.com/heroku/heroku-django-template/blob/master/project_name/settings.py#L47 ) and therefore it seems to be actually added twice (See issue #97 )