Thank you for your feedback. I was using django 1.4. I have changed to the previous version and it is working. Maybe a bug in the new version?
El martes 3 de abril de 2012 16:12:04 UTC+2, imarcelolz escribió: > > Try to setup the absolute path on "NAME". > > *Um Abraço!* > *Ivo Marcelo Leonardi Zaniolo* > *imarcelolz.blogspot.com* > > > 2012/4/3 DIEGO CENZANO PRADO <diego.cenz...@bbva.com> > >> I am trying to do the tutorial 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. >> } >> } >> ¿Any idea? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/Yl-oyPgbgLYJ. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/L99DVyecFWoJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.