Fixed #29984 -- Added QuerySet.iterator() support for prefetching related objects.

Co-authored-by: Raphael Kimmig <raphael.kimmig@ampad.de>
Co-authored-by: Simon Charette <charette.s@gmail.com>
This commit is contained in:
Jacob Walls 2022-01-09 00:58:41 -05:00 committed by Mariusz Felisiak
parent c27932ec93
commit edbf930287
5 changed files with 112 additions and 13 deletions

View file

@ -81,6 +81,10 @@ details on these changes.
* ``django.contrib.sessions.serializers.PickleSerializer`` will be removed.
* The usage of ``QuerySet.iterator()`` on a queryset that prefetches related
objects without providing the ``chunk_size`` argument will no longer be
allowed.
.. _deprecation-removed-in-4.1:
4.1