Выберите Flask Flask WTF
HOUR_CHOICES = [('1', '8am'), ('2', '10am')]
class TestForm(Form):
hour = SelectField(u'Hour', choices=HOUR_CHOICES)
Karsh
HOUR_CHOICES = [('1', '8am'), ('2', '10am')]
class TestForm(Form):
hour = SelectField(u'Hour', choices=HOUR_CHOICES)