Working on my first django app, and I have a model defined with some DateFields, and then a ModelForm off of that model i.e.
DateFields
ModelForm
models
There's no need to subclass DateInput.
DateInput
class MyModelForm(forms.ModelForm): class Meta: model = MyModel fields = '__all__' widgets = { 'my_date': DateInput(attrs={'type': 'date'}) }