How to create a super user in Django (+ Heroku)
If you’ve just started a new project you need to have run the migrations with:
python manage.py migrate
Then create the super user with:
python manage.py createsuperuser
You’ll be asked a series of questions to create a Django user, note this is a user that can log into the admin panel, not a website user.
Creating a super user on Heroku
heroku run python manage.py createsuperuser