settings.DATABASES is improperly configured

2012-11-13 Thread Yacov Schondorf
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 /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-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.



settings.DATABASES is improperly configured

2012-11-13 Thread Yacov Schondorf
I am doing the Djando tutorial 
https://docs.djangoproject.com/en/1.4/intro/tutorial01/
When I execute "python manage.py syncdb" I get the error below:
settings.DATABASES is improperly configured. Please supply the ENGINE value.
The settings.DATABASES IS configured exactly as described in the tutorial: 
'ENGINE': 'django.db.backends.sqlite3',
I beleive a different settings.py is used - I don't know why.
Any ideas?

-- 
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/-/HnL5IhYrmB4J.
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.



Re: settings.DATABASES is improperly configured

2012-11-13 Thread Yacov Schondorf
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 > 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  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. 
>
> > To unsubscribe from this group, send email to 
> > django-users...@googlegroups.com . 
> > 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.



Re: settings.DATABASES is improperly configured

2012-11-13 Thread Yacov Schondorf
Just to clarify - I cannot modify the other installation but I still need 
to run the tutorial, so I am still looking for a solution...

On Tuesday, November 13, 2012 6:46:10 PM UTC+2, Yacov Schondorf wrote:
>
> 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  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 > 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. 
>> > To unsubscribe from this group, send email to 
>> > django-users...@googlegroups.com. 
>> > 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/-/Yj2UaXZlCW0J.
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.