
Jinja — Jinja Documentation (3.1.x)
¶ Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. Then the template is passed data to render the final document.
Template Designer Documentation — Jinja Documentation (3.1.x)
Jinja's Template Designer Documentation explains how to create and use templates with special placeholders, macros, and inheritance for dynamic content rendering.
Introduction — Jinja Documentation (3.1.x)
Introduction ¶ Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. Then the template is passed data to render the …
API — Jinja Documentation (3.1.x)
API ¶ This document describes the API to Jinja and not the template language (for that, see Template Designer Documentation). It will be most useful as reference to those implementing the template …
Frequently Asked Questions — Jinja Documentation (3.1.x)
Frequently Asked Questions Why is it called Jinja? ¶ “Jinja” is a Japanese Shinto shrine, or temple, and temple and template share a similar English pronunciation. It is not named after the city in Uganda. …
Changes — Jinja Documentation (3.1.x)
Dec 21, 2024 · Changes ¶ Version 3.1.6 ¶ Released 2025-03-05 The |attr filter does not bypass the environment’s attribute lookup, allowing the sandbox to apply its checks. GHSA-cpwx-vrp4-4pq7 …
Sandbox — Jinja Documentation (3.1.x)
Sandbox ¶ The Jinja sandbox can be used to render untrusted templates. Access to attributes, method calls, operators, mutating data structures, and string formatting can be intercepted and prohibited.
Native Python Types — Jinja Documentation (3.1.x) - Pallets
Native Python Types ¶ The default Environment renders templates to strings. With NativeEnvironment, rendering a template produces a native Python type. This is useful if you are using Jinja outside the …
Switching From Other Template Engines — Jinja Documentation (3.1.x)
Switching From Other Template Engines ¶ This is a brief guide on some of the differences between Jinja syntax and other template languages. See Template Designer Documentation for a comprehensive …
Tips and Tricks — Jinja Documentation (3.1.x) - Pallets
Tips and Tricks This part of the documentation shows some tips and tricks for Jinja templates. Null-Default Fallback ¶ Jinja supports dynamic inheritance and does not distinguish between parent and …