mirror of https://github.com/django/django.git
Corrected forms.TimeField's default widget in docs.
This commit is contained in:
parent
5db8d617c0
commit
ccf870ebf5
|
@ -882,7 +882,7 @@ For each field, we describe the default widget used if you don't specify
|
||||||
|
|
||||||
.. class:: TimeField(**kwargs)
|
.. class:: TimeField(**kwargs)
|
||||||
|
|
||||||
* Default widget: :class:`TextInput`
|
* Default widget: :class:`TimeInput`
|
||||||
* Empty value: ``None``
|
* Empty value: ``None``
|
||||||
* Normalizes to: A Python ``datetime.time`` object.
|
* Normalizes to: A Python ``datetime.time`` object.
|
||||||
* Validates that the given value is either a ``datetime.time`` or string
|
* Validates that the given value is either a ``datetime.time`` or string
|
||||||
|
|
Loading…
Reference in New Issue