mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
[1.7.x] Fixed several typos in Django
Backport of 1dcc603eff from master
This commit is contained in:
@@ -1709,7 +1709,7 @@ class NullableRelOrderingTests(TestCase):
|
||||
qs = qs.order_by('others__single__name')
|
||||
# The ordering by others__single__pk will add one new join (to single)
|
||||
# and that join must be LEFT join. The already existing join to related
|
||||
# objects must be kept INNER. So, we have both a INNER and a LEFT join
|
||||
# objects must be kept INNER. So, we have both an INNER and a LEFT join
|
||||
# in the query.
|
||||
self.assertEqual(str(qs.query).count('LEFT'), 1)
|
||||
self.assertEqual(str(qs.query).count('INNER'), 1)
|
||||
|
||||
Reference in New Issue
Block a user