summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-11-19 08:22:44 +0100
committerGitHub <noreply@github.com>2025-11-19 08:22:44 +0100
commit97acd4d2f92eef8c285bac070d437bf0fd52e071 (patch)
tree62de2c4f5299318d8cffbf67d544f239c1d7fc07 /docs
parente05f2a75695b5f5faa7682d4053db4776d4d6f93 (diff)
Fixed #26609 -- Extended fields.E004 system check for unordered iterables.
Co-authored-by: Karl Wooster <karl.wooster@alleima.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt2
1 files changed, 1 insertions, 1 deletions
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.