Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

queryset-refactor: Added a test to show that #3037 is really fixed. R…

…efs #3037.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e9364c06d6be32dc37e09620105e970472587d87 1 parent e4d1a9a
@malcolmt malcolmt authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/regressiontests/queries/
4 tests/regressiontests/queries/
@@ -325,5 +325,9 @@ def __unicode__(self):
# entries in the SQL. The two Note items should be different.
>>> qs[0].note, qs[0].creator.extra.note
(<Note: n2>, <Note: n1>)
+Bug #3037
+>>> Item.objects.filter(Q(creator__name='a3', name='two')|Q(creator__name='a4', name='four'))
+[<Item: four>]
Please sign in to comment.
Something went wrong with that request. Please try again.