Ticket #23739: 23739-test.diff
File 23739-test.diff, 572 bytes (added by , 10 years ago) |
---|
-
tests/defer_regress/tests.py
diff --git a/tests/defer_regress/tests.py b/tests/defer_regress/tests.py index f2a015a..d41b8bf 100644
a b class DeferRegressionTest(TestCase): 252 252 deferred_cls = deferred_class_factory(Item, ()) 253 253 self.assertFalse(deferred_cls._deferred) 254 254 255 def test_select_related_defer_related_name(self): 256 list(Child.objects.select_related('other').defer('other__name')) 257 255 258 256 259 class DeferAnnotateSelectRelatedTest(TestCase): 257 260 def test_defer_annotate_select_related(self):