1👍
✅
You can set the format of the TimeInput
widget manually:
self.fields['starttime'] = forms.TimeField(
required=True,
label='Start Time',
input_formats=['%I:%M %p'],
widget=forms.TimeInput(format='%I:%M %p'))
Source:stackexchange.com