Fixed database backend creation for Python 2.3.
Fixed database backend creation for Python 2.3.

Previously on "things we changed in the recent past".... the database
connection setup was changed. People were happy. Except for those
running on Python 2.3.

We had completely broken Django on Python 2.3. Turns out, this is due to
a long-standing bug in the _threading_local module that interacts with
object creation in 2.3.

Interestingly, although the bug remains in Python 2.4 and 2.5, they
don't trip over it for reasons I don't entirely understand at the
moment.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10096 bcc190cf-cafb-0310-a4f2-bffc1f526a37

--HG--
extra : convert_revision : 445b3be95972404528017f719c465146827a6637

adieu/django-nonrel,heracek/django-nonrel,adieu/django-nonrel,heracek/django-nonrel,heracek/django-nonrel,adieu/django-nonrel