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