[Answered ]-User table not created on django deployment but superuser created on heroku bash

1👍

If you look at the django-heroku repository on GitHub I think you’ll find that it has been abandoned. It has a banner saying

This repository has been archived by the owner. It is now read-only.

and has not had a new commit on the master branch since October, 2018.

The heroku-on-django library aims to be an updated replacement for django-heroku:

This has been forked from django-heroku because it was abandoned and then renamed to django-on-heroku because old project has been archived.

It is also somewhat stagnant (the most recent commit to master at the time of writing is from October, 2020) but it should work better than django-heroku.

In either case, make sure to put this at the bottom of your settings.py as indicated in the documentation:

# Configure Django App for Heroku.
import django_on_heroku
django_on_heroku.settings(locals())
👤Chris

Leave a comment