In this video we'll start to look at the Jinja2 Template Language that allows us to use Python directly on our webpages.
The best part of using a framework like Flask is the ability to use Python on a web page. Jinja allows us to do that...mostly.
In this video we'll learn how to pass variables to our webpages, as well as other things like Python Lists. We'll also learn to use the built in filters that come with Jinja2, such as safe, capitalize, lower, upper, title, trim, striptags, and more.
We'll also learn to use if statements and for loops on our webpage with Jinja.
Ещё видео!