django/tests/prefetch_related
Alex Aktsipetrov 681f7e2b13 Fixed #20577 -- Deferred filtering of prefetched related querysets.
Added internal interface to QuerySet that allows to defer next filter
call till .query is accessed. Used it to optimize prefetch_related().

Thanks Simon Charette for the review.
2019-10-21 13:21:54 +02:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed #30343 -- Fixed prefetch_related() for GenericForeignKey when PK of related field is UUIDField. 2019-04-14 10:02:59 +02:00
test_prefetch_related_objects.py Made prefetch_related tests use assertCountEqual() for unordered sequences. 2018-02-05 10:00:57 -05:00
test_uuid.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
tests.py Fixed #20577 -- Deferred filtering of prefetched related querysets. 2019-10-21 13:21:54 +02:00