Description
Renders text templates with variables, expressions, filters, and reusable structure. Python web apps, documentation tools, generators, and automation scripts use it to create HTML, configuration files, emails, and other text output.
Template input and variables should be trusted or escaped correctly, especially when generating HTML or configuration. Unsafe templates can expose data or create vulnerable output.