On 8/30/06, Siah <[EMAIL PROTECTED]> wrote:

Somehow though, if I go to ChildObj and ask for its children, I will
get the FatherObj as well. What am I doing wrong?

By default, m2m fields are symmetrical - what you put in at one end, you can see from the other.

If you want to make m2m fields non-symmetrical, add symmetrical=False to your m2m definition. See

http://www.djangoproject.com/documentation/models/m2m_recursive/

for an example.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to