from wtforms.ext.sqlalchemy.fields import QuerySelectField

def fill_field():
    return Model.query
myfield = QuerySelectField(query_factory=fill_field)
How to append a new wtforms FormField with initial data as default?