On 7/21/07, james_027 <[EMAIL PROTECTED]> wrote: > > When the relationship is within the same namespace (am I using the > right term, pls correct me) the manage.py syncdb create the tables > without a problem if all the tables are create on the same time, but > if the tables weren't created the same time it also fail to create the > foreign keys.
I think you need to be a little bit more clear on what you have done - and I mean precise instructions. _EXACTLY_ what steps have you taken, and how have you come to the conclusion that the foreign key hasn't been created? Creating tables is an operation that gets done every day by many people, without difficulty. I have tried the models file you provide, in various orders of creation, and have had no problems. Without knowing exactly what you have done, it is impossible to know what has gone wrong. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---