Heroku django app createsuperuser

Aswin Murugesh picture Aswin Murugesh · Feb 27, 2014 · Viewed 25k times · Source

I deployed my django app and when I tried

heroku run python manage.py syncdb

I got a timeout awaiting process error. Superuser is not created for the system yet, though i did syncdb by using:

heroku run:detached python manage.py createsuperuser

But this does not prompt me for the superuser.

Port 5000 is not blocked in my system. How do I make heroku run work (or) how do I create the super user?

Answer

Fra picture Fra · Jun 6, 2015

do not detach the heroku shell:

heroku run python manage.py createsuperuser

worked for me