summaryrefslogtreecommitdiff
path: root/docs/ref/forms/fields.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-21 06:25:23 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-21 06:26:59 +0200
commit73d084bf9703395307d0b3ee977ceeb88f51479f (patch)
tree6f762b9b5150ececf368cd6a2eb24bf66a4d4574 /docs/ref/forms/fields.txt
parentb9ee225d086314b75aa75c569c527960c6fdb6d9 (diff)
[3.1.x] Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator changes.
Backport of ba6b32e5efc4c813ba4432777b3b1743d4205d14 from master
Diffstat (limited to 'docs/ref/forms/fields.txt')
-rw-r--r--docs/ref/forms/fields.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 89cb47a393..71777a468c 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -1439,7 +1439,9 @@ customize the yielded 2-tuple choices.
In older versions, the first ``value`` element in the choice tuple
is the ``field`` value itself, rather than a
- ``ModelChoiceIteratorValue`` instance.
+ ``ModelChoiceIteratorValue`` instance. In most cases this proxies
+ transparently but, if you need the ``field`` value itself, use the
+ :attr:`ModelChoiceIteratorValue.value` attribute instead.
``ModelChoiceIteratorValue``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~