1
0
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:
Mariusz Felisiak
2018-03-16 10:54:34 +01:00
committed by GitHub
parent aeb8c38178
commit 362813d628
40 changed files with 266 additions and 232 deletions

View File

@@ -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