From 5e28cd3f2cfc31bf947a747256bc036f8f64888a Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Fri, 24 Nov 2023 11:06:29 +0000 Subject: Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable(). --- docs/internals/deprecation.txt | 3 +++ docs/releases/5.1.txt | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index a2968ab625..dd6712e936 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -59,6 +59,9 @@ details on these changes. * The ``ModelAdmin.log_deletion()`` and ``LogEntryManager.log_action()`` methods will be removed. +* The undocumented ``django.utils.itercompat.is_iterable()`` function and the + ``django.utils.itercompat`` module will be removed. + .. _deprecation-removed-in-5.1: 5.1 diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index dc48321f5c..4c95e4677f 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -303,6 +303,10 @@ Miscellaneous ``ModelAdmin.log_deletions()`` and ``LogEntryManager.log_actions()`` instead. +* The undocumented ``django.utils.itercompat.is_iterable()`` function and the + ``django.utils.itercompat`` module are deprecated. Use + ``isinstance(..., collections.abc.Iterable)`` instead. + Features removed in 5.1 ======================= -- cgit v1.3