Oct 24: Jinja Templates, Charts
Learning Objectives
After today's class, you should be able to:
- Explain the double brace syntax used in a Jinja template.
- Run a web app that renders a template based on a query.
Lesson Outline¶
GP3 Q&A [20 min]
- Quick check-in with each team
- Can every student run
build.sh
?
Jinja Templates [30 min]
- Jinja Templates
- Solution code from Tuesday: world.py
- Today's example: imdb.py, imdb.jinja
Google Charts [25 min]
- Chart Gallery – where you can get templates!
- Table Chart example: flight.py, flight.jinja