📅  最后修改于: 2022-03-11 14:45:06.443000             🧑  作者: Mango
代码示例2
CHOICES=[('select1','select 1'),
('select2','select 2')]
like = forms.ChoiceField(choices=CHOICES, widget=forms.RadioSelect)