Dag SneeggenAug 3, 2017Needs adviceonpeeweemodel_to_dict is a function in the "playhouse" extension, which automagically converts a model into a Python dictionary. In other words; you can easily convert data from complex SQL queries straight to JSON. peewee1 upvote10 views0CommentsCopy link