I've got this this tutorial and I have troubles with assigning data from database to items variable with this command items = ItemModel.query.all()
items = ItemModel.query.all()
It works with dicts, but not here. Should I import that ItemModel or what? Thanks.
Aucun commentaire:
Enregistrer un commentaire