django form field add data attribute code example
Example: django form field add attrs
widgets = {
'field_name': django_forms.NumberInput(attrs={'step': 0.01}),
}
widgets = {
'field_name': django_forms.NumberInput(attrs={'step': 0.01}),
}