【发布时间】:2017-02-21 06:05:40
【问题描述】:
我可以创建执行以下命令:
heroku run python manage.py createsuperuser
而且效果很好。但是当我刚跑的时候
python manage.py createsuperuser
我收到此错误。
为什么它适用于 heroku 而不是我的本地应用程序?
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
【问题讨论】:
-
错误信息清楚地表明您的
DATABASES设置在您的本地环境中不正确。如果没有实际的设置文件,我们无能为力。
标签: python django database postgresql heroku