diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-10-15 00:48:40 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-10-15 00:48:40 +0000 |
| commit | e9364c06d6be32dc37e09620105e970472587d87 (patch) | |
| tree | a753d1230e89493273807bf51b7ee3d5230c4591 /tests | |
| parent | e4d1a9aabb915a23c77454a33d7f784e2f32f552 (diff) | |
queryset-refactor: Added a test to show that #3037 is really fixed. Refs #3037.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/queries/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 (<Note: n2>, <Note: n1>) + +Bug #3037 +>>> Item.objects.filter(Q(creator__name='a3', name='two')|Q(creator__name='a4', name='four')) +[<Item: four>] """} |
