diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-12-03 21:10:51 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-12-03 21:10:51 +0000 |
| commit | 57a4b882aeddc6f171d25808c8510bd09c410eff (patch) | |
| tree | 0ceca14a2a08910c8dd81a711de45bcd47a8f42d /tests/regressiontests | |
| parent | cc0078494e6a28c7c27f53748d6b16fafe0ca8fd (diff) | |
queryset-refactor: Fixed query disjunctions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests')
| -rw-r--r-- | tests/regressiontests/queries/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 14ed0bb3b1..9f55f277ec 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -196,6 +196,8 @@ Bug #2080, #3592 [<Author: a1>, <Author: a3>] >>> Author.objects.filter(Q(name='a3') | Q(item__name='one')) [<Author: a1>, <Author: a3>] +>>> Author.objects.filter(Q(item__name='three') | Q(report__name='r3')) +[<Author: a2>] Bug #6074 Merging two empty result sets shouldn't leave a queryset with no constraints |
