Corrected forms.TimeField's default widget in docs.

This commit is contained in:
flh 2018-09-05 01:18:42 +02:00 committed by Tim Graham
parent 5db8d617c0
commit ccf870ebf5
1 changed files with 1 additions and 1 deletions

View File

@ -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