From edbf930287cb72e9afab1f7208c24b1146b0c4ec Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 9 Jan 2022 00:58:41 -0500 Subject: Fixed #29984 -- Added QuerySet.iterator() support for prefetching related objects. Co-authored-by: Raphael Kimmig Co-authored-by: Simon Charette --- docs/internals/deprecation.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 23fa942ef9..4818846bea 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -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 -- cgit v1.3