From 142e400c5cbff91ba70d3636a4429a48131a2edd Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 14 Oct 2007 02:14:53 +0000 Subject: 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 --- tests/regressiontests/queries/models.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests') 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.objects.filter(item=i3) [] - -# 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.objects.filter(item=i2) & Author.objects.filter(item=i3) +[] Bug #2306 Checking that no join types are "left outer" joins. -- cgit v1.3