RESOLVED Re: Yet another ManyToMany with "Self" question ...

2007-02-21 Thread ZebZiggle
Yup, adding "symmetric = False" to the model field fixed it. Cheers, Sandy --~--~-~--~~~---~--~~ 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

Re: Yet another ManyToMany with "Self" question ...

2007-02-21 Thread ZebZiggle
More on this ... it seems that django adds two entries to the join table. Doing: manager.subordinates.add(employee) added two entries: id = 7 from = 1to = 2 id = 8 from = 2to = 1 Is this the correct behavior? I would assume only one relationship should be added (from = 1 to = 2) H

Re: Yet another ManyToMany with "Self" question ...

2007-02-21 Thread ZebZiggle
Anyone? --~--~-~--~~~---~--~~ 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 mo