fields = form.fields
# initialize a dict and fill with form data
_data ={}
for key in fields.iterkeys():
_data[key] = form[key].value()
_data.pop("savedTests") # doesn't belong in Model
# initialize a Model instance from the dictionary
instance = AnonFlowTest(**_data)
bulk_create()
with mysql?