0

尝试运行 heroku run python manage.py migrate --remote [my app] 并输出子命令列表。尝试了其他各种 django 命令,结果相同,从“shell”到我发明的一些自定义命令。

heroku run python 工作正常,还有其他 heroku 命令(run 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
4

1 回答 1

0

Heroku 修复了它!

修复图像

状态/事件报告的完整链接

于 2016-03-15T19:35:37.400 回答