diff --git a/tests/modeltests/m2m_and_m2o/models.py b/tests/modeltests/m2m_and_m2o/models.py index d147644c3c..7a685ecbd2 100644 --- a/tests/modeltests/m2m_and_m2o/models.py +++ b/tests/modeltests/m2m_and_m2o/models.py @@ -47,20 +47,20 @@ API_TESTS = """ >>> i3.cc.add(r) >>> from django.db.models.query import Q >>> Issue.objects.filter(client=r.id) -[, ] +[, ] >>> Issue.objects.filter(client=g.id) -[] +[] >>> Issue.objects.filter(cc__id__exact=g.id) [] >>> Issue.objects.filter(cc__id__exact=r.id) -[, ] +[, ] # Queries that combine results from the m2m and the m2o relationship. # 3 ways of saying the same thing: >>> Issue.objects.filter(Q(cc__id__exact=r.id) | Q(client=r.id)) -[, , ] +[, , ] >>> Issue.objects.filter(cc__id__exact=r.id) | Issue.objects.filter(client=r.id) -[, , ] +[, , ] >>> Issue.objects.filter(Q(client=r.id) | Q(cc__id__exact=r.id)) -[, , ] +[, , ] """