Re: Getting only the models related to my queryset.

2013-03-04 Thread Tom Evans
On Fri, Mar 1, 2013 at 7:11 PM, Gabriel Koscky wrote: > Hi, I've been having some trouble with filtering the related models of a > queryset, > and I'm not sure if I'm approaching this wrong or if Django can't actually > do it. > > Basically I have some models with ManyToMany

Getting only the models related to my queryset.

2013-03-01 Thread Gabriel Koscky
Hi, I've been having some trouble with filtering the related models of a queryset, and I'm not sure if I'm approaching this wrong or if Django can't actually do it. Basically I have some models with ManyToMany relationships, like: *class User(models.Model): name = models.CharField() class