0
試圖運行heroku運行python manage.py migrate --remote [my app],它輸出一個子命令列表。嘗試了各種其他的django命令,結果相同,從'shell'到我發明的一些自定義命令。在Heroku上無法識別的Python Manage.py命令
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