Flask-wtf formsets

时间:2015-06-07 10:53:53

标签: flask wtforms flask-wtforms

如何创建像django forms formsets这样的表单集并处理它们。 我试过这样的

for header in headers:
    field_form = FieldsForm()
    field_form.xls_field.data = fix
    field_form.xls_name.data = header
    field_forms.append(field_form)
    fix += 1

0 个答案:

没有答案