【发布时间】:2011-06-14 20:59:47
【问题描述】:
http://docs.djangoproject.com/en/dev/ref/forms/widgets/#django.forms.Select
在这里,它说我可以做 SELECT 小部件。但是我该怎么做呢? 它没有显示任何关于如何在 python 中编写该字段的示例。
<select>
<option>option 1</option>
<option>option 2</option>
</select>
【问题讨论】: