I'm not sure that the example in the Django docs work? Can anyone confirm or deny this? It looks like the "related.py" code at lines 720-722 are trying to deal with objects. If you have strings for either the related object name or for the "through" keyword....it looks like it fails.
Is this a bug? Thanks. -Jamie -----Original Message----- From: James DeMichele [mailto:[email protected]] Sent: Thursday, September 29, 2011 11:21 AM To: [email protected] Subject: RE: ManyToMany problem Thanks for the response, that's a completely inaccurate statement. Here's an example from the Django docs: https://docs.djangoproject.com/en/1.3/topics/db/models/#intermediary-manyt omany The Group object has through="Membership". Although, one thing I notice is that it looks like in the Django example it is only using 1 ManyToMany field (e.g. the Person model does not have a manytomany field). Is that required? Only one of the related items can have a ManyToMany declared? That wouldn't make a lot of sense though, right? I would want to ask for all Restaurants a Hood as....and vice versa. I'd want all of the Hoods that belong to a Restaurant. Thanks. -Jamie -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Shawn Milochik Sent: Thursday, September 29, 2011 11:07 AM To: [email protected] Subject: Re: ManyToMany problem I don't think you can make the 'through' argument a string, and I don't think there's circular dependency issue with the 'through' kwarg. -- 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. -- 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.

