summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEdison Wang <edisonwang03@gmail.com>2023-03-29 00:23:43 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-04-03 06:58:25 +0200
commitcbcc1240e912cfc47cb6ea0c4fe6b4a48f36f7e2 (patch)
tree9c0569c3146919775d06662d9d952a78e4c91edc /docs
parent465f3c045b2cb7d757a8cbabc909c137901c9844 (diff)
downloaddjango-cbcc1240e912cfc47cb6ea0c4fe6b4a48f36f7e2.tar.gz
Fixed #34431 -- Improved Date/DateTimeField/TimeField.input_formats docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/forms/fields.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 476075b936..f9a07b1626 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -473,7 +473,7 @@ For each field, we describe the default widget used if you don't specify
.. attribute:: input_formats
- A list of formats used to attempt to convert a string to a valid
+ An iterable of formats used to attempt to convert a string to a valid
``datetime.date`` object.
If no ``input_formats`` argument is provided, the default input formats are
@@ -497,7 +497,7 @@ For each field, we describe the default widget used if you don't specify
.. attribute:: input_formats
- A list of formats used to attempt to convert a string to a valid
+ An iterable of formats used to attempt to convert a string to a valid
``datetime.datetime`` object, in addition to ISO 8601 formats.
The field always accepts strings in ISO 8601 formatted dates or similar
@@ -996,7 +996,7 @@ For each field, we describe the default widget used if you don't specify
.. attribute:: input_formats
- A list of formats used to attempt to convert a string to a valid
+ An iterable of formats used to attempt to convert a string to a valid
``datetime.time`` object.
If no ``input_formats`` argument is provided, the default input formats are