Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Whitenoise middlewear not included #96

Open
adnmcq opened this issue Aug 15, 2018 · 1 comment
Open

Whitenoise middlewear not included #96

adnmcq opened this issue Aug 15, 2018 · 1 comment

Comments

@adnmcq
Copy link

adnmcq commented Aug 15, 2018

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

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

@tyrion
Copy link

tyrion commented Aug 29, 2018

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 )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants