0
我可以創建執行以下命令:爲什麼createsuperuser只工作與Heroku的運行
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'設置在您的本地環境中不正確。沒有實際的設置文件,我們無法提供幫助。 – knbk