2016-03-15 76 views
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 

回答