diff options
| author | Nick Pope <nick@nickpope.me.uk> | 2023-11-24 11:06:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-24 12:06:29 +0100 |
| commit | 5e28cd3f2cfc31bf947a747256bc036f8f64888a (patch) | |
| tree | 7f687c30cd0bec4aec9837c7b311b616ebd8c4e1 /docs | |
| parent | eabfa2d0e38670365aa74117ad2f8710b81065c5 (diff) | |
Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable().
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/releases/5.1.txt | 4 |
2 files changed, 7 insertions, 0 deletions
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 ======================= |
