Jinja2

djangopython

Jinja is a template engine for the Python programming language created by Armin Ronacher. It is similar to the Django template engine but provides Python-like expressions while ensuring that templates are evaluated in a sandbox. It is a text-based template language and thus can be used to generate any markup as well as source code.

The Jinja template engine allows customization of tags, filters, tests, and globals. Unlike the Django template engine, Jinja also lets the template designer call functions with arguments on objects. Jinja is Flask’s default template engine.

References

Related