forms.TimeInput

class TimeInput [source]

Time input as a simple text box: <input type='text' ...>

Takes same arguments as TextInput, with one more optional argument:

format

The format in which this field’s initial value will be displayed.

If no format argument is provided, the default format is the first format found in TIME_INPUT_FORMATS and respects Format localization.

For the treatment of microseconds, see DateTimeInput.

doc_Django
2016-10-09 18:37:10
Comments
Leave a Comment

Please login to continue.