Jinja Templates in your Flask backend | Flask and Python Backend #7

Описание к видео Jinja Templates in your Flask backend | Flask and Python Backend #7

In this video, I show how a Flask backend can render and return Jinja templates. I show how to use variables inside the Jinja templates, blocks and macros.

This is the seventh video of a serie where I show how to build a backend with Flask and Python :    • Flask  

Content:
How to return a Jinja template from a Flask backend. Where are stored the Jinja templates and the CSS files in a Flask application;
How to pass variables to the Jinja templates and how to read the variables;
How to write simple Jinja statements in a template as a for loop;
How to extend a layout for other templates and use blocks;
How to create an use macros in a Jinja template.

Repository: https://github.com/serlesen/backend-f...

My NEW eBook: https://sergiolema.dev/git-book/

Python Courses: https://coddy.tech/courses/python_fun...
Blog: https://bit.ly/47ornJL
LinkedIn: https://bit.ly/41Nn61q
Facebook: https://bit.ly/47rc9nh

Track the performance of your APIs: https://bit.ly/4d7C0ny
Trainings: https://sergiolema.dev/trainings

Icons:
Like by IcoMoon from NounProject.com
Server by Vectorstall from NounProject.com
Website by UNKNOWN from NounProject.com
User by Rockicon from NounProject.com
Cookie by Chanut is Industries from NounProject.com

Комментарии

Информация по комментариям в разработке