0
 STATUS = (
    (1, "one"),
    (2, "first"),
    (3, "third")
)

I want to display in form one/first/third

status = forms.ChoiceField(label="Статус", choices=STATUS, widget=forms.TextInput(attrs={'readonly':'readonly'}))

But this line display me 1/2/3. How I can show the second value?

Kevin
  • 67
  • 2
  • 10

0 Answers0