mirror of
https://github.com/django/django.git
synced 2025-03-30 19:20:44 +00:00
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)
|
||||
|
||||
* 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user