🌈 搜索
📅  最后修改于: 2022-03-11 14:46:04.978000             🧑  作者: Mango
HOUR_CHOICES = [('1', '8am'), ('2', '10am')] class TestForm(Form): hour = SelectField(u'Hour', choices=HOUR_CHOICES)