Re: how to get attribute of intermediary model?

2011-02-27 Thread Margie Roginski
Ah yes, that is *much* better. Thank you! Sorry for the delay, forgot to check back on this thread till now. Margie On Feb 17, 2:28 pm, Daniel Roseman wrote: > On Thursday, February 17, 2011 10:06:40 PM UTC, Margie Roginski wrote: > > > Thanks for your reply, Daniel.  I

Re: how to get attribute of intermediary model?

2011-02-17 Thread Daniel Roseman
On Thursday, February 17, 2011 10:06:40 PM UTC, Margie Roginski wrote: > > Thanks for your reply, Daniel. I didn't give my example specifically > enough. In my particular case I actually have a handle to the Person > and actually don't need all the join dates for all the people in that >

Re: how to get attribute of intermediary model?

2011-02-17 Thread Margie Roginski
Thanks for your reply, Daniel. I didn't give my example specifically enough. In my particular case I actually have a handle to the Person and actually don't need all the join dates for all the people in that group. I just need that person's join date. I can see that it is easy to get all

Re: how to get attribute of intermediary model?

2011-02-16 Thread Daniel Roseman
On Wednesday, February 16, 2011 12:36:49 AM UTC, Margie Roginski wrote: > > Say I am using an intermediary model like that in the doc: > > class Person(models.Model): > name = models.CharField(max_length=128) > > class Group(models.Model): > name = models.CharField(max_length=128) >

how to get attribute of intermediary model?

2011-02-15 Thread Margie Roginski
Say I am using an intermediary model like that in the doc: class Person(models.Model): name = models.CharField(max_length=128) class Group(models.Model): name = models.CharField(max_length=128) members = models.ManyToManyField(Person, through='Membership') class