add attribute to django form field 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}),
}