Re: newbie: which settings file? ["settings.DATABASES is improperly configured. "]

104 views
Skip to first unread message

Thomas Lockhart

unread,
Sep 10, 2012, 3:30:51 PM9/10/12
to django...@googlegroups.com
On 9/10/12 11:30 AM, Bob Aalsma wrote:

I'm in Chapter 5 of the tutorial, configuring the database.
I think I've done everything correct to set the DATABASE_ENGINE = 'sqlite3'.
Then I check the settings and see an error:
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

You are mixing an older tutorial with a newer version of Django.

Find instructions which describe setting "ENGINE" in the "DATABASES" structure. You see that the error message mentions "DATABASES" and "ENGINES", not "DATABASE_ENGINE" which is the clue here.

hth

                       - Tom

Bob Aalsma

unread,
Sep 10, 2012, 4:17:34 PM9/10/12
to django...@googlegroups.com
Ah, yes, thanks!

Regards,
Bob


Op maandag 10 september 2012 21:31:17 UTC+2 schreef Thomas het volgende:
Reply all
Reply to author
Forward
0 new messages