Trying to follow the instructions here to set up a Django instance on Heroku.
I got to the installation of celery to the next step:
$ python manage.py syncdb
when i get the following error:
Increase Incorrectly configured ("settings.DATABASES is incorrectly configured." Django.core.exceptions.ImproperlyConfigured: settings.DATABASES is incorrectly configured. Please supply the ENGINE cost. For more details, see the Setup documentation.
I believe that I have the settings.py file in the right place (project-name/project-name) and I run django 1.4.3, but when I try to run manage.py diffsettings , I get the following output:
BROKER_BACKEND = 'django' ### DATABASES = {'default': {'ENGINE': 'django.db.backends.dummy', 'TEST_MIRROR': None, 'NAME': '', 'TEST_CHARSET': None, ' TIME_ZONE ':' UTC ',' TEST_COLLATION ': None,' PORT ':' ',' HOST ':' ',' USER ':' ',' TEST_NAME ': None,' PASSWORD ':' ', "OPTIONS" : {}}}
I absolutely don't know where the django.db.backends.dummy entry comes django.db.backends.dummy , my settings.py has 'ENGINE': 'django.db.backends.postgresql_psycopg2' , which I suppose is the correct entry, even if Heroku instructions do not tell you update it at any time.
Any thoughts what I need to edit here?
python sql django heroku celery
fox
source share