From 97acd4d2f92eef8c285bac070d437bf0fd52e071 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 19 Nov 2025 08:22:44 +0100 Subject: Fixed #26609 -- Extended fields.E004 system check for unordered iterables. Co-authored-by: Karl Wooster --- docs/ref/checks.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 1a79023b89..966bca23b2 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -167,7 +167,7 @@ Model fields * **fields.E003**: ``pk`` is a reserved word that cannot be used as a field name. * **fields.E004**: ``choices`` must be a mapping (e.g. a dictionary) or an - iterable (e.g. a list or tuple). + ordered iterable (e.g. a list or tuple, but not a set). * **fields.E005**: ``choices`` must be a mapping of actual values to human readable names or an iterable containing ``(actual value, human readable name)`` tuples. -- cgit v1.3