1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00
This commit is contained in:
Veres Lajos
2014-11-03 22:48:03 +00:00
committed by Tim Graham
parent 7b42036752
commit a71a2ea756
21 changed files with 28 additions and 28 deletions

View File

@@ -281,7 +281,7 @@ class ModelInheritanceTests(TestCase):
.defer("italianrestaurant__serves_gnocchi")
.order_by("rating"))
# Test that the field was actually defered
# Test that the field was actually deferred
with self.assertNumQueries(2):
objs = list(qs.all())
self.assertTrue(objs[1].italianrestaurant.serves_gnocchi)