mirror of
https://github.com/django/django.git
synced 2025-04-05 14:06:42 +00:00
[2.1.x] Corrected forms.TimeField's default widget in docs.
Backport of ccf870ebf5a9f9b44711a08549833f97ef3f7a41 from master
This commit is contained in:
parent
231c595bde
commit
2975ceef6c
@ -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