Re: Two way many-to-many relationships

2011-03-29 Thread Mike Ramirez
On Monday, March 28, 2011 02:32:52 pm Dilan wrote: > Thanks Mike ! you're welcome > That was a really helpful page that I missed in Doc. In this > particular case 1 solves 2. > Nice > > In python you can't forward declare outside of the module the object is > > in. I also want to clarify that

Re: Two way many-to-many relationships

2011-03-28 Thread Dilan
Thanks Mike ! That was a really helpful page that I missed in Doc. In this particular case 1 solves 2. Dilan On Mar 27, 10:09 pm, Mike Ramirez wrote: > On Sunday, March 27, 2011 02:32:15 pm Dilan wrote: > > > Hi All, > > > I'm working on a model similar to > >http://docs.djangoproject.com/en/1

Re: Two way many-to-many relationships

2011-03-27 Thread Mike Ramirez
On Sunday, March 27, 2011 02:32:15 pm Dilan wrote: > Hi All, > > I'm working on a model similar to > http://docs.djangoproject.com/en/1.3/topics/db/models/#extra-fields-on-many > -to-many-relationships . > > Say, I need to add the field, groups = models.ManyToManyField(Group, > through='Membershi

Two way many-to-many relationships

2011-03-27 Thread Dilan
Hi All, I'm working on a model similar to http://docs.djangoproject.com/en/1.3/topics/db/models/#extra-fields-on-many-to-many-relationships . Say, I need to add the field, groups = models.ManyToManyField(Group, through='Membership') to Person class Two questions: 1. In Django, is this allowed? 2