Tuesday, November 13, 2012

Re: settings.DATABASES is improperly configured

Hi Yacov,
Why do you think python is importing another settings.py??

On 11/13/12, Yacov Schondorf <yacov.schondorf@gmail.com> 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-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@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 post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate