Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paginate the list of bills #480

Merged
merged 1 commit into from
Feb 20, 2020
Merged

Commits on Feb 17, 2020

  1. Paginate the list of bills

    We display 100 bills on each page.  We only show previous/next buttons (at
    the top of the view) and the list of pages (at the bottom) if there are
    more than one pages.
    
    This uses built-in pagination support from Flask-SQLAlchemy:
    
      https://flask-sqlalchemy.palletsprojects.com/en/2.x/api/#flask_sqlalchemy.BaseQuery.paginate
      https://flask-sqlalchemy.palletsprojects.com/en/2.x/api/#flask_sqlalchemy.Pagination
    Baptiste Jonglez committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    8ac1bdf View commit details
    Browse the repository at this point in the history