On Sun, Nov 1, 2009, Karen Tracey <kmtra...@gmail.com> wrote:

>> But what if there were no relation? How does the admin know which inline
>> items belong to it?
>>
>>
>You can't list an unrelated model inline with another.  I believe you'll get
>an error about no ForeignKey pointing to the parent model existing in the
>one you are trying to inline.

Thanks. 

I was then going to ask: suppose you have two ForeignKeys pointing to
the parent model? But I've just found the fk_name option for inlines,
which controls it.

Daniele


--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to