Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…efs #3037.

git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e9364c06d6be32dc37e09620105e970472587d87 1 parent e4d1a9a
Malcolm Tredinnick authored October 15, 2007

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  tests/regressiontests/queries/models.py
4  tests/regressiontests/queries/models.py
@@ -325,5 +325,9 @@ def __unicode__(self):
325 325
 # entries in the SQL. The two Note items should be different.
326 326
 >>> qs[0].note, qs[0].creator.extra.note
327 327
 (<Note: n2>, <Note: n1>)
  328
+
  329
+Bug #3037
  330
+>>> Item.objects.filter(Q(creator__name='a3', name='two')|Q(creator__name='a4', name='four'))
  331
+[<Item: four>]
328 332
 """}
329 333
 

0 notes on commit e9364c0

Please sign in to comment.
Something went wrong with that request. Please try again.