我部署了我Django应用程序,当我试图Heroku的Django应用程序createsuperuser
heroku run python manage.py syncdb
我有一个超时等待过程中的错误。超级用户不会为系统创建的是,虽然我没有通过执行syncdb:
heroku run:detached python manage.py createsuperuser
但这并不提示我的超级用户。
端口5000不会在我的系统中被阻塞。我如何让heroku运行(或)如何创建超级用户?
检查你的日志'的Heroku logs',你可能有问题,你requirements.txt – fasouto
此外,创建一个超级用户的语法是:'没有空格 – fasouto
createsuperuser' @fasouto:我对requirements.txt没有问题。该应用程序正在工作,我也做了syncdb。唯一的问题是我无法创建超级用户。 –