@mod.route('/recipes/create', methods=['GET'])
def createRecipe():
    categories = [(c.id, c.name) for c in g.user.categories.order_by(
        Category.name).all()]
form = RecipeForm(request.form)
How do I generate dynamic fields in WTForms