diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-10-14 02:14:53 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-10-14 02:14:53 +0000 |
| commit | 142e400c5cbff91ba70d3636a4429a48131a2edd (patch) | |
| tree | 2a4c2618324e70519b90c1309981e3bc7e711291 /tests | |
| parent | 8926b431eda3a7b031e10beb6963bf2d26e4039b (diff) | |
queryset-refactor: Create a new join when merging two QuerySets that use a 1-m
field.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/queries/models.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index a2fc5d18d2..689304d57a 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -81,11 +81,8 @@ Bug #1801 [<Author: a2>] >>> Author.objects.filter(item=i3) [<Author: a2>] - -# FIXME: When we join these queries, we MUST NOT share the table joins. this is -# the case for all m-to-m and 1-to-m joins (but m-to-1 is fine). -# >>> Author.objects.filter(item=i2) & Author.objects.filter(item=i3) -# [<Author: a2>] +>>> Author.objects.filter(item=i2) & Author.objects.filter(item=i3) +[<Author: a2>] Bug #2306 Checking that no join types are "left outer" joins. |
