Hi folks,

I'm forwarding this for all of the people who have expressed an interest in
multi-db over the last few days/weeks. Koen has made the fantastic effort of
updating the branch from my changes ( to r5589) up to r6110. I've attached
that patch to ticket 4747 <http://code.djangoproject.com/ticket/4747> which
refers to the effort to update multi-db. I haven't tested this patch myself,
and I'm not in a position to do any work on the branch for the next week or
so as I have a project that I need to finish first (and I'm also moving
house!). I will be around on the mailing list as much as possible and will
attempt to clear up any questions arising from the use of the patch if I
can.

If any of you folks who have expressed an interest in multi-db have any time
it would be great if you could have a look at this and lend a hand to the
outstanding issues (especially testing!). Some of my own changes were a
little bit ropey to be honest... I did a poor job of separating merges from
my own changes in support of the project I was working on. If we can get
this patch up to a standard that a core dev is willing to check it into the
SVN repo branch it will obviously make it easier for people to
share/use/develop further, which can only be a good thing!!

Thanks
Ben

---------- Forwarded message ----------
From: BIERMANS Koen <[EMAIL PROTECTED]>
Date: 14 Sep 2007 21:52
Subject: RE: Ticket 4747
To: Ben Ford <[EMAIL PROTECTED]>

 Hi Ben,



In annexe a diff of my multidb folder compared to trunk r6110.



Some background:



* removed (most of) the schema evolution stuff (also the tests)



* get_db_prep_save gets the model instance so it can determine what backend
it uses (needed for mysql exception in datetimefield)



* queryset gets set in manager since some backends have custom querysets (eg
oracle)



* (hopefully) all quote_name references have been resolved to the models
connection ops via model._default_manager.db.connection.ops.quote_name



* query.py: quote_only_if_word uses the backends quote_name (passed in)



* management stuff: syncdb put model connection determination all around,
seems to work, needs testing



* validation: needs a closer look



* sql: table_list ok, create ok, delete ?, flush NOT OK, others TO DO



* thread_isolation test failing : TODO



* test_client test failing (flush?): TODO



This means  Unicode, backend and management refactoring should be more or
less ok.



There are some things to look at, but I need a break now.



I have not done to much testing yet though. I'll see when I can get round to
that (maybe later this evening when the kids are asleep).



I hope this helps.



Koen





-- 
Regards,
Ben Ford
[EMAIL PROTECTED]
+6281317958862

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to