heroku/heroku-django-template

Whitenoise middlewear not included

adnmcq opened this issue · 1 comments

Is there a reason why 'whitenoise.middleware.WhiteNoiseMiddleware', is ot included in MIDDLEWARE in settings.py?

https://devcenter.heroku.com/articles/django-assets

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 )