django-on-heroku · PyPI
https://pypi.org/project/django-on-heroku04.10.2020 · Usage of Django-Heroku. In settings.py, at the very bottom: # Configure Django App for Heroku. import django_on_heroku django_on_heroku.settings (locals ()) This will automatically configure DATABASE_URL, ALLOWED_HOSTS, WhiteNoise (for static assets), Logging, and Heroku CI for your application.