in Python Flask by (31.6k points)
What do you mean by template engines in the Flask framework?

1 Answer

0 votes
by (31.6k points)

A template is a file that contains two types of data, i.e., static and dynamic. Dynamic data in a template is populated during run time. Flask makes use of Jinja2 template engine to let developers create HTML templates with placeholders for dynamic data.

These placeholders can be filled during run time by using Flask’s render_template method with required parameters and values.

Related questions

+2 votes
asked Jan 16, 2022 in FuelPHP by DavidAnderson (9.0k points)
0 votes
asked Dec 23, 2022 in Python Flask by john ganales (14.0k points)