diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 3a80e2da61..048ced9543 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -325,5 +325,9 @@ Bugs #2874, #3002 # entries in the SQL. The two Note items should be different. >>> qs[0].note, qs[0].creator.extra.note (, ) + +Bug #3037 +>>> Item.objects.filter(Q(creator__name='a3', name='two')|Q(creator__name='a4', name='four')) +[] """}