In the documentation (which really is great) there is this example
class Membership(models.Model):
person = models.ForeignKey(Person)
group = models.ForeignKey(Group)
date_joined = models.DateField()
invite_reason = models.CharField(max_length=64)
My question is, is there a way to get the these attributes through the
Group or Person data?
I want to render
"The Beatles", "Ringo Starr", "Needed a new drummer."
"The Beatles", "Paul McCartney", "Wanted to form a band."
I get get from the group to the person, from the person to the group,
but I don't see how to get to the data in the intermediate table.
Is that data only available in querying?
thanks,
Michael
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.