Hi All, I have a many-to-many relationship of User to Question through Asking.
I want to get Questions that a given User has not asked yet. That is, Questions where there is no Asking record for a given User. I have the User's id. Models look like: class Question(models.Model): text = models.TextField() question_type = models.ForeignKey('QuestionType') user = models.ManyToManyField(User, through='Asking', null=True) class Asking(models.Model): user = models.ForeignKey(User) question = models.ForeignKey(Question) is_primary_asker = models.BooleanField() User is the built-in django.contrib.auth.models User. Thanks! Maybe this is simple and I just am not seeing it. -Jim -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.