#5461: Give database backends a "creation" attribute instead of using
get_creation_module()
-----------------------+----------------------------------------------------
Reporter: adrian | Owner: nobody
Status: new | Component: Database wrapper
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
-----------------------+----------------------------------------------------
Each database backend's {{{DatabaseWrapper}}} class should have a
{{{creation}}} property that returns a subclass of
{{{django.db.backends.creation.BaseCreation}}}, which contains all the
information about how to create tables with the particular backend.
{{{BaseCreation}}} is like {{{BaseDatabaseOperations}}} in
{{{django/db/backends/__init__.py}}}, except it deals only with logic
related to creation.
This was implemented in
http://code.djangoproject.com/attachment/ticket/5106/backend-refactoring-
v2-correct-bitrot.patch , but that patch is no longer valid, as some of it
has been checked in already.
--
Ticket URL: <http://code.djangoproject.com/ticket/5461>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---