mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed hanging indentation in various code.
This commit is contained in:
@@ -233,8 +233,7 @@ class TestDefer2(AssertionMixin, TestCase):
|
||||
fetched parent model PK if it happens to be available.
|
||||
"""
|
||||
s1 = Secondary.objects.create(first="x1", second="y1")
|
||||
bc = BigChild.objects.create(name="b1", value="foo", related=s1,
|
||||
other="bar")
|
||||
bc = BigChild.objects.create(name='b1', value='foo', related=s1, other='bar')
|
||||
bc_deferred = BigChild.objects.only('name').get(pk=bc.pk)
|
||||
with self.assertNumQueries(0):
|
||||
bc_deferred.id
|
||||
|
||||
Reference in New Issue
Block a user