heroku / heroku-django-template

A Django 2.0 base template featuring all recommended best practices for deployment on Heroku and local development.
https://www.heroku.com/python
903 stars 385 forks source link

Whitenoise middleware included twice #97

Open tyrion opened 6 years ago

tyrion commented 6 years ago

Currently the whitenoise middleware gets included twice, because you are manually adding it into settings.py and calling django_heroku.settings without passing staticfiles=False (and therefore it gets added an other time by django-heroku).