radio button django model code example
Example: radiobuttons django
CHOICES=[('select1','select 1'),
('select2','select 2')]
like = forms.ChoiceField(choices=CHOICES, widget=forms.RadioSelect)
CHOICES=[('select1','select 1'),
('select2','select 2')]
like = forms.ChoiceField(choices=CHOICES, widget=forms.RadioSelect)