Bouton radio de Django
CHOICES = [('M','Male'),('F','Female')]
Gender=forms.CharField(label='Gender', widget=forms.RadioSelect(choices=CHOICES))
Grieving Gerenuk
CHOICES = [('M','Male'),('F','Female')]
Gender=forms.CharField(label='Gender', widget=forms.RadioSelect(choices=CHOICES))
CHOICES=[('select1','select 1'),
('select2','select 2')]
like = forms.ChoiceField(choices=CHOICES, widget=forms.RadioSelect)