Just out of interest have you explored using SQLAlchemy directly with the django model..? I mean mapping the SA Table onto the django Model..? I had a play with that a while back and it seems a very straightforward way of achieving SA - django integration... Ben
On 18/07/07, Noam <[EMAIL PROTECTED]> wrote: > > > On Jul 18, 4:47 am, "Ben Ford" <[EMAIL PROTECTED]> wrote: > > > I haven't looked at the code, but I wonder about the dependency on > > > multiple ORMs; the Django ORM cannot expose its own functionality on > > > multiple databases at once... > > > > It can using the multiple-db-support branch (see ticket 4747 for a patch > > bringing the branch up to date)... > > If it's merged into the trunk, there indeed will be no need to use > SQLAlchemy. It will be very nice! > > > There's also a similar module (on > > djangosnippets I think) which enables extraction/insertion of a database > > into/from a list of python files. It's pretty good!! > > Thanks for the reference! You probably mean > http://www.djangosnippets.org/snippets/167/ > . It's very nice. I still prefer my method, but I would like to hear > what others think about it. > > (Ok, I'll say why I prefer my method. Pickle is complicated. You never > know exactly what's in that pickle file. On the other hand, a script > which copies data from one database into another is easy to understand > and modify. It also doesn't require you to write plugins to modify > classes - you just modify the script in a straightforward way. And > still, I'm biased. I would like to hear what others think.) > > Noam > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~----------~----~----~----~------~----~------~--~---