Opened 13 years ago

Last modified 12 years ago

#18058 closed Bug

Problem with syncdb in Django 1.4 — at Initial Version

Reported by: diegocepr@… Owned by: nobody
Component: Uncategorized Version: 1.4
Severity: Normal Keywords: startproject, tutorial
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I am trying to do the tutorial with django 1.4 and I get an error doing 'python manage.py syncdb'. I am using the DATABASES as it is created and I've try to use sqlite3 and mysql backends. I tried it in windows and in unix. Rasult is always the same:

raise ImproperlyConfigured("settings.DATABASES is improperly configured. "

django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
But settings.py is:
DATABASES = {

'default': {

'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'polls.db', # Or path to database file if using sqlite3.
'USER': , # Not used with sqlite3.
'PASSWORD':
, # Not used with sqlite3.
'HOST': , # Set to empty string for localhost. Not used with sqlite3.
'PORT':
, # Set to empty string for default. Not used with sqlite3.

}

}

However I have tried with previous version of Django and it works ok.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top