尝试运行heroku运行python manage.py migrate --remote [我的应用程序]并输出一个子命令列表。尝试了各种其他django命令,结果相同,来自' shell'我发明的一些自定义命令。
heroku run python工作正常以及其他heroku命令(运行ls)。 django应用程序目前有问题吗?我没有编辑我的heroku设置或完成与heroku相关的任何事情(回滚到更远的部署但仍然坏了,所以最近没有代码更改)
Running python manage.py help migrate on tempotrader-staging... up, run.7740
/app/.heroku/python/lib/python2.7/site-packages/stream_django/enrich.py:3: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated in favor of the new application loading system.
from django.db.models.loading import get_model
Type 'manage.py help <subcommand>' for help on a specific subcommand.
Available subcommands:
[account]
account_emailconfirmationmigration
account_unsetmultipleprimaryemails
[auth]
changepassword
createsuperuser
[avatar]
rebuild_avatars
[charting]
update_portfolios
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
runfcgi
shell
showmigrations
sql
sqlall
sqlclear
sqlcustom
sqldropindexes
sqlflush
sqlindexes
sqlmigrate
sqlsequencereset
..... etc