Django error in Heroku: “Please supply the ENGINE value”

前端 未结 6 743
广开言路
广开言路 2021-01-04 20:14

I read and apply \"Getting started with Django on Heroku\" tutorial but ran into problem while syncing db:

raise ImproperlyConfigured(\"settings.DATABASES is         


        
6条回答
  •  抹茶落季
    2021-01-04 21:10

    Ensure that you have the database add-on installed and setup properly. See https://devcenter.heroku.com/articles/database#no-dev-database-or-no-database-url

    I ran the following to fix the issue:

    heroku addons:add heroku-postgresql
    heroku pg:promote HEROKU_POSTGRESQL_CYAN
    

提交回复
热议问题