Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django radio button

CHOICES = [('M','Male'),('F','Female')]
Gender=forms.CharField(label='Gender', widget=forms.RadioSelect(choices=CHOICES))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #radio #button
ADD COMMENT
Topic
Name
2+8 =