Pagination with Flask and Peewee Pagination with Flask and Peewee flask flask

Pagination with Flask and Peewee


There's no get_pages() method. Use: get_page(x) to get a page of results. Use get_page_count() to get the total number of pages.

This is all documented here: http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#PaginatedQuery