Hi, I dont know what you mean by what_I_have_done?
I just follow the django tutorial. the one with poll and choice model. I did every step. and that's my result. However I have discover something .... this setting INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', ) vs this setting INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', ) will produce a different result ... the first setting will have foreign key on the django_admin_log table while the 2nd table dont have the foreign key. I have do this multiple time, changing the settings between the first and the second and the result is constant. do we have ordering in creating models? thanks james On Jul 21, 12:49 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/21/07, james_027 <[EMAIL PROTECTED]> wrote: > > > > > I didn't say that the relation aren't working, I just wondering why > > foreign key wasn't created in my case. I am using both SQL Manager > > 2005 lite and MySQL Administrator just to take a look at the table > > created. > > When I run your example, the foreign key IS created. You are not the > first person to create a foreign key reference across applications, > and we haven't had any other complaints to date, so I am almost 100% > confident that the problem isn't with Django. > > I would like to help you solve your problem. Unfortunately, I'm not > telepathic. I can't help you if refuse to tell me WHAT YOU HAVE DONE. > > 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 -~----------~----~----~----~------~----~------~--~---