The latter. Thanks Malcolm. The patch is a little ugly indeed, but
easier than rearranging the XML by hand.

JJ.


On Jul 2, 9:40 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2007-07-02 at 00:31 -0700, jj wrote:
> > I recently switched my backend from sqlite3 to mysql. The interim
> > export format was XML. I had already repopulated my sqlite3 database
> > several times from the XML dump, without any problem, but this time
> > came across the following issue: mysql does not like forward
> > references. I.e. the XML dump has to be created in the correct order,
> > with backward references only.
>
> Wasn't clear if you had a question about this or just mentioning it for
> other people's benefit, but it's a known issue and not always avoidable,
> since circular references are also possible. There is a patch attached
> to ticket #3615 that might help you in the interim whilst we try to work
> out if there is a more solid solution.
>
> Regards,
> Malcolm
>
> --
> Tolkien is hobbit-forming.http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to