Use time input_type on split_datetime_field
This commit is contained in:
parent
a8928587f2
commit
6e238b2f52
|
@ -78,4 +78,5 @@ def split_datetime_field(form, field_name):
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
new_field.widget.widgets[0].input_type = 'date'
|
new_field.widget.widgets[0].input_type = 'date'
|
||||||
|
new_field.widget.widgets[1].input_type = 'time'
|
||||||
form.fields[field_name] = new_field
|
form.fields[field_name] = new_field
|
||||||
|
|
Loading…
Reference in New Issue