Pagination in Flask using MySql
问题 I searched a lot about it. All the articles i get include SQLAlchemy and none of them deal with mysql. I am working with flask and i have a database in mysql and i need to display the data in pages. Like 1000 images, per page 10 so 100 pages. In mysql we can do pagination with the help of limit. And the routes can be: @app.route('/images', defaults={'page':1}) @app.route('/images/page/<int:page>') I need to ask is this all that is needed for pagination? or am i forgetting something important