A Django library to configure your app for Heroku. Easily sets up database, static files, and other settings based on Heroku environment. Current version 0.3.1 (last released in 2018, maintenance mode).
pip install django-herokuVerified import paths — ran on the pinned version, not inferred.
Add at the very bottom of your settings.py file to configure database, static files, and other Heroku-specific settings.
Instead of using django-heroku, manually configure using whitenoise and dj-database-url as described in Heroku's official Django guide.
Ensure the call is the absolute last line in settings.py.
Run pip install django-heroku and ensure your virtualenv is active.
Use django_heroku.settings(locals()) instead of just django_heroku.settings().