My book website tracks the books I read each year. The original site was
written in PHP and now I'm in the process of rewritting it in Python with Flask and
SQLAlchemy using Jinja2 templates.
In my html template, I want to print the books for the most recent year …