Peewee - invalid literal for int() with base 10: '' when looping over query
Peewee - invalid literal for int() with base 10: '' when looping over query flask
flask
Looks like you have an IntegerField declared on your model, but there is an empty string stored in the database. Perhaps you can go clean up your database:
UPDATE whatever SET int_field = NULL WHERE int_field = '';