标签: python django python-2.7 python-3.x django-forms
STATUS = ( (1, "one"), (2, "first"), (3, "third") )
我想以表格1 /第一/第三
status = forms.ChoiceField(label="Статус", choices=STATUS, widget=forms.TextInput(attrs={'readonly':'readonly'}))
但这行显示我1/2/3。 我怎样才能显示第二个值?