diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-21 06:25:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-21 06:25:23 +0200 |
| commit | ba6b32e5efc4c813ba4432777b3b1743d4205d14 (patch) | |
| tree | f927a5d8abd278d7b5e8e8f7e155f1b46bba9cde /docs/ref/forms | |
| parent | 278b6187d2a6711afb0b35dc5c3c09fe5be9adb3 (diff) | |
Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator changes.
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/fields.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index fb6c14595c..e5a9c8f880 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`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
