Optimized an optimise

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2011-12-17 17:38:08 +00:00
parent 20c8aa2a20
commit e31c43a360
1 changed files with 1 additions and 1 deletions

View File

@ -1430,7 +1430,7 @@ class Queries6Tests(TestCase):
# The annotation->tag link is single values and tag->children links is
# multi-valued. So we have to split the exclude filter in the middle
# and then optimise the inner query without losing results.
# and then optimize the inner query without losing results.
self.assertQuerysetEqual(
Annotation.objects.exclude(tag__children__name="t2"),
['<Annotation: a2>']