Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
settings.DATABASES is improperly configured
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Yacov Schondorf  
View profile  
 More options Nov 13 2012, 6:55 am
From: Yacov Schondorf <yacov.schond...@gmail.com>
Date: Tue, 13 Nov 2012 03:55:06 -0800 (PST)
Local: Tues, Nov 13 2012 6:55 am
Subject: settings.DATABASES is improperly configured

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Babatunde Akinyanmi  
View profile  
 More options Nov 13 2012, 11:32 am
From: Babatunde Akinyanmi <tundeba...@gmail.com>
Date: Tue, 13 Nov 2012 17:31:01 +0100
Local: Tues, Nov 13 2012 11:31 am
Subject: 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.schond...@gmail.com> wrote:

--
Sent from my mobile device

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yacov Schondorf  
View profile  
 More options Nov 13 2012, 11:46 am
From: Yacov Schondorf <yacov.schond...@gmail.com>
Date: Tue, 13 Nov 2012 08:46:10 -0800 (PST)
Local: Tues, Nov 13 2012 11:46 am
Subject: Re: settings.DATABASES is improperly configured

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yacov Schondorf  
View profile  
 More options Nov 13 2012, 12:43 pm
From: Yacov Schondorf <yacov.schond...@gmail.com>
Date: Tue, 13 Nov 2012 09:43:36 -0800 (PST)
Local: Tues, Nov 13 2012 12:43 pm
Subject: Re: settings.DATABASES is improperly configured

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Babatunde Akinyanmi  
View profile  
 More options Nov 15 2012, 2:06 am
From: Babatunde Akinyanmi <tundeba...@gmail.com>
Date: Thu, 15 Nov 2012 08:06:18 +0100
Local: Thurs, Nov 15 2012 2:06 am
Subject: Re: settings.DATABASES is improperly configured
Hi Yacov,
If you have confirmed that there are more than one django
installations on your computer, what I can say is crazy things happen
with more than one django installed. Even if you manage to pass this
hurdle, there's a lot more ahead.

On 11/13/12, Yacov Schondorf <yacov.schond...@gmail.com> wrote:

--
Sent from my mobile device

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »