summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflh <flh@users.noreply.github.com>2018-09-05 01:18:42 +0200
committerTim Graham <timograham@gmail.com>2018-09-08 08:56:25 -0400
commit2975ceef6c9f459f1f5ea31f45aceead919cb0bd (patch)
tree6a013d5012a3a582e2b100196d8f4ef6888f5106
parent231c595bde342e507091167387fba7ba1882b9c9 (diff)
downloaddjango-2975ceef6c9f459f1f5ea31f45aceead919cb0bd.tar.gz
[2.1.x] Corrected forms.TimeField's default widget in docs.
Backport of ccf870ebf5a9f9b44711a08549833f97ef3f7a41 from master
-rw-r--r--docs/ref/forms/fields.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index dcef538116..d7bc32c412 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -882,7 +882,7 @@ For each field, we describe the default widget used if you don't specify
.. class:: TimeField(**kwargs)
- * Default widget: :class:`TextInput`
+ * Default widget: :class:`TimeInput`
* Empty value: ``None``
* Normalizes to: A Python ``datetime.time`` object.
* Validates that the given value is either a ``datetime.time`` or string