Fixed typo in tests/prefetch_related/tests.py comment.
This commit is contained in:
parent
bb9e82f274
commit
6b402b28b3
|
@ -204,7 +204,7 @@ class PrefetchRelatedTests(TestDataMixin, TestCase):
|
||||||
|
|
||||||
def test_reverse_one_to_one_then_m2m(self):
|
def test_reverse_one_to_one_then_m2m(self):
|
||||||
"""
|
"""
|
||||||
A m2m relation can be followed afterr going through the select_related
|
A m2m relation can be followed after going through the select_related
|
||||||
reverse of an o2o.
|
reverse of an o2o.
|
||||||
"""
|
"""
|
||||||
qs = Author.objects.prefetch_related('bio__books').select_related('bio')
|
qs = Author.objects.prefetch_related('bio__books').select_related('bio')
|
||||||
|
|
Loading…
Reference in New Issue