如何提供值表单字段类

时间:2018-09-25 13:19:07

标签: django django-forms

我有一个表格课

forms.py

class HealthCheckForm(forms.Form):
   locality = forms.ChoiceField()

我该怎么做? HealthCheckForm({'locality':choices = SELECTED_CHOICES})

0 个答案:

没有答案