Re: Complex filtering

2008-06-23 Thread Deniz Dogan
Disregard this thread. Fixed it. Basically at first I was thinking "check so that X = True for all X", but instead I now check "check so that no X = False for all X". On Jun 23, 12:50 pm, Deniz Dogan <[EMAIL PROTECTED]> wrote: > Hello. > > I have a model Students and another one called Course. Th

Complex filtering

2008-06-23 Thread Deniz Dogan
Hello. I have a model Students and another one called Course. The basic structure is as follows: class Student(models.Model): name = models.CharField() courses = models.ManyToManyField(Course) class Course(models.Model): name = models.CharField() Now I want to have a query set of all t