On Tue, 2006-07-18 at 22:16 -0400, Alexis Smirnov wrote: [...] > Questions: > - Any idea why MySQL 5.0.20-nt does't like above SQL?
You've hit the same bug that David Avraamides posted about on this list last Saturday (see the tread titled "Syncdb generates non-unique foreign key constraints"). I'm working on a fix for that at the moment (although I'm about to have to get back to paying work, so it'll probably have to wait until this evening). > - Is it a good idea to try to create SQL that respects the order of > classes within .py file (thus avoiding ALTER TABLE) It's not always going to be possible (there can be circular references, for example). Better to fix the real problem. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---