summaryrefslogtreecommitdiff
path: root/docs/ref/forms/fields.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-05 11:20:50 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-14 17:50:04 +0100
commitb7dd89ed5389067cb70294682ffef1ba23d33934 (patch)
tree9d1cf97b9fda1ea8798cd543aee9d3f738a931f2 /docs/ref/forms/fields.txt
parent8774b1144c08f18e23381ffae7084dbc05ebfe37 (diff)
Removed versionadded/changed annotations for 3.1.
Diffstat (limited to 'docs/ref/forms/fields.txt')
-rw-r--r--docs/ref/forms/fields.txt20
1 files changed, 0 insertions, 20 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 9438214a28..52ab59e626 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -514,14 +514,6 @@ For each field, we describe the default widget used if you don't specify
``DATE_INPUT_FORMATS`` keys if localization is enabled. See also
:doc:`format localization </topics/i18n/formatting>`.
- .. versionchanged:: 3.1
-
- Support for ISO 8601 date string parsing (including optional timezone)
- was added.
-
- The fallback on ``DATE_INPUT_FORMATS`` in the default ``input_formats``
- was added.
-
``DecimalField``
----------------
@@ -782,8 +774,6 @@ For each field, we describe the default widget used if you don't specify
.. class:: JSONField(encoder=None, decoder=None, **kwargs)
- .. versionadded:: 3.1
-
A field which accepts JSON encoded data for a
:class:`~django.db.models.JSONField`.
@@ -1450,21 +1440,11 @@ customize the yielded 2-tuple choices.
:attr:`ChoiceField.choices`. The first ``value`` element is a
:class:`ModelChoiceIteratorValue` instance.
- .. versionchanged:: 3.1
-
- In older versions, the first ``value`` element in the choice tuple
- is the ``field`` value itself, rather than a
- ``ModelChoiceIteratorValue`` instance. In most cases this proxies
- transparently but, if you need the ``field`` value itself, use the
- :attr:`ModelChoiceIteratorValue.value` attribute instead.
-
``ModelChoiceIteratorValue``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. class:: ModelChoiceIteratorValue(value, instance)
- .. versionadded:: 3.1
-
Two arguments are required:
.. attribute:: value