我有这样的表格:
account_type_choices = ('1234', '1234567')
choice_field = forms.ChoiceField(widget=forms.RadioSelect, choices=account_type_choices)
# In templates shown like this
[li] [radio_button] 2
[li] [radio_button] 2
怎么了?
我有这样的表格:
account_type_choices = ('1234', '1234567')
choice_field = forms.ChoiceField(widget=forms.RadioSelect, choices=account_type_choices)
# In templates shown like this
[li] [radio_button] 2
[li] [radio_button] 2
怎么了?