0
我有一個這樣的形式:RadioSelect小部件在Django模板中只顯示一個單詞?
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
有什麼不對?