[Answer]-Python heroku syncdb error

1👍

Install the dj_database_url module using pip

0👍

The error explains exactly what is going on: there is no module named “dj_database_url”, which means you have not installed it.

You need to do that by putting that line into your requirements.txt file. If you’re running locally, you can do pip install dj_database_url.

Leave a comment