So as an experienced Googlenaught (TM) I was a little surprised to find that
the first hit for "django-users sqlite howto" was not terribly helpful for a
beginner.

The second hit (eventually) said

"""Now, edit settings.py. It's a normal Python module with module-level
variables representing Django settings. Change the following keys in the
DATABASES 'default' item to match your databases connection settings."""

However if the newcomer is new not only to Django-users but also to Python
this paragraph begs more questions than it answers.

I presume this text is 1.2-ready, so it might be a good idea to explain that
DATABASES is a dict ("what's a dict?" being the next obvious question).

Not being fully up to speed here, by the way, could someone confirm that if
not hasattr(settings, "DATABASES") that some backwards compatibility hook
sets DATABASES["default"] from the original DATABASE_* variables?

Would a one-day "Running the Django-users Tutorial on 1.2" be any use?

regards
Steve

On Apr 9, 2010 12:31 AM, "Steve Holden" <holden...@gmail.com> wrote:

Oh, I see it wasn't just a Google failure.

Thierry gave you the correct answer, but omitted to mention (or we omitted
to notice) that those lines go in your settings.py file. No use typing them
on the command line. ..

Regards
Steve


>
> On Apr 9, 2010 12:26 AM, "Steve Holden" <holden...@gmail.com> wrote:
>
> This might just have b...


>
>
> >
> > On Apr 8, 2010 12:18 AM, "yangyang" <juz...@gmail.com> wrote:
> >
> how exactly set up the databa...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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