May-27-2020, 10:49 AM
(May-27-2020, 04:44 AM)ndc85430 Wrote: I don't see any code in your handler that's doing a query and passing the results to the template, so families
(on line 17) isn't set.
you are right ... just forgot it
@admin.route('/families', methods=['GET', 'POST']) def list_families(): """ List all families """ families = Family.query.all() return render_template('admin/families/families.html', families=families, title="Families")