Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django form field add attrs

widgets = {
  'field_name': django_forms.NumberInput(attrs={'step': 0.01}),
}
 
PREVIOUS NEXT
Tagged: #django #form #field #add #attrs
ADD COMMENT
Topic
Name
1+5 =