I have added related_name to text1 and text2, so at least syncdb worked, but how can I now make this query.
In manager: self.compare_set.filter(~Q(Q(compare__user=request.user)&Q(Q(compare__text1__id=id)| Q(compare__text2__id=id)))).all() this doesn't work -- 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.