WTForms RadioField default values
问题 I'm generating a html form with wtforms like this: <div class="control-group"> {% for subfield in form.time_offset %} <label class="radio"> {{ subfield }} {{ subfield.label }} </label> {% endfor %} </div> My form class is like this: class SN4639(Form): time_offset = RadioField(u'Label', choices=[ ('2', u'Check when Daylight saving has begun, UTC+02:00'), ('1', u'Check when Daylight saving has stopped, UTC+01:00')], default=2, validators=[Required()]) When I now open the edit form, I get via