我正在学习https://testdriven.io/courses/tdd-django/deployment/的教程。当我在没有访问postgres的情况下请求get时,一切都运行得很好,http://ancient-waters-04623.herokuapp.com/ping/将返回200状态 我完成了迁移和播种数据$ heroku run python mana
当运行一个在Heroku上执行一些数据库查询的特定脚本时,我从我的回溯中得到的信息不足以解决我的问题。(django.db.utils.DatabaseError: current transaction is aborted, commands ignored until end of transaction)
我想从postgresl获得更多关于这个问题的信息,我能够访问本地postgresql 的日志。但是在Heroku
我正在尝试让我的本地开发django应用程序在添加环境数据库设置后按照这些说明工作。我按照说明操作,但在我的应用程序尝试访问本地数据库时出现以下错误Request URL: http://localhost:8000Exception Type: ImproperlyConfiguredYou need to spec