I have just installed my Django project on a new system, and installed Django 1.4. However when I try to run manage.py runserver
or manage.py syncdb
I
For those using Heroku, which is my case. I found this problem too, I have the default database set, as they point out in the heroku guides:
DATABASES['default'] = dj_database_url.config()
However, the ketError 'default' error still appears. This is due to there is no database provisioned, and thus dj_database_url
cannot find it and raised that confusing error.
To solve it just provision the database and promote it as explained in heroku postgresql
heroku addons:add heroku-postgresql:dev
heroku pg:promote HEROKU_POSTGRESQL_BLUE