how to create model of checkbox and radiobutton in django template 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)