I debugged using pdb and got to a point where I could 
examine settings.DATABASES. It was *not* the settings.DATABASES defined in 
my settings.py. There seems to be another Django installation on the 
station which conflicts with the tutorial. 

On Tuesday, November 13, 2012 6:32:06 PM UTC+2, Tundebabzy wrote:
>
> Hi Yacov, 
> Why do you think python is importing another settings.py?? 
>
> On 11/13/12, Yacov Schondorf <yacov.s...@gmail.com <javascript:>> wrote: 
> > I am doing the Django tutorial. When I execute the command "python 
> > manage.py syncdb", I get the following error: 
> > settings.DATABASES is improperly configured. Please supply the ENGINE 
> > value. Check settings documentation for more details. 
> > I am executing from <my home 
> directory>/Django-projects/tutorial01/mysite, 
> > and this directory has the settings.py which I defined - as was 
> explained 
> > in the tutorial - to be 
> > DATABASES = { 
> >     'default': { 
> >         'ENGINE': 'django.db.backends.sqlite3', 
> >    ... 
> >     } 
> > } 
> > I beleive my python imports another settings module but the question is 
> why 
> > 
> > and I can override this... 
> > Thanks. 
> > 
> > -- 
> > 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/-/1Vq5YXp-j9QJ. 
> > To post to this group, send email to 
> > django...@googlegroups.com<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > django-users...@googlegroups.com <javascript:>. 
> > For more options, visit this group at 
> > http://groups.google.com/group/django-users?hl=en. 
> > 
> > 
>
> -- 
> Sent from my mobile device 
>

-- 
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/-/qAMqpWT-7AcJ.
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.

Reply via email to