Preparing the App
Requirements.txt
Heroku will install you project on a server so you need to provide the full list of python package required. This is done with a requirements.txt file.
Create this file using this command, this will gather every package installed and render them to a requirements.txt file
Exemple
requirements.txt for Basic django setup with whitenoise
Procfile
runtime.txt
heroku_settings.py
Static Assets
PostgreSQL connection
dj-database-url