Navigation

  • index
  • modules |
  • next |
  • Jinja Documentation (3.1.x) »
  • Jinja

Jinja¶

_images/jinja-logo.png

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.

Contents:

  • Introduction
    • Installation
  • API
    • Basics
    • High Level API
    • Autoescaping
    • Notes on Identifiers
    • Undefined Types
    • The Context
    • Loaders
    • Bytecode Cache
    • Async Support
    • Policies
    • Utilities
    • Exceptions
    • Custom Filters
    • Custom Tests
    • Evaluation Context
    • The Global Namespace
    • Low Level API
    • The Meta API
  • Sandbox
    • Security Considerations
    • API
    • Operator Intercepting
  • Native Python Types
    • Examples
    • API
  • Template Designer Documentation
    • Synopsis
    • Variables
    • Filters
    • Tests
    • Comments
    • Whitespace Control
    • Escaping
    • Line Statements
    • Template Inheritance
    • HTML Escaping
    • List of Control Structures
    • Import Context Behavior
    • Expressions
    • List of Builtin Filters
    • List of Builtin Tests
    • List of Global Functions
    • Extensions
    • Autoescape Overrides
  • Extensions
    • Adding Extensions
    • i18n Extension
    • Expression Statement
    • Loop Controls
    • With Statement
    • Autoescape Extension
    • Debug Extension
    • Writing Extensions
    • Example Extensions
    • Extension API
  • Integration
    • Flask
    • Django
    • Babel
    • Pylons
  • Switching From Other Template Engines
    • Django
    • Mako
  • Tips and Tricks
    • Null-Default Fallback
    • Alternating Rows
    • Highlighting Active Menu Items
    • Accessing the parent Loop
  • Frequently Asked Questions
    • Why is it called Jinja?
    • How fast is Jinja?
    • Isn’t it a bad idea to put logic in templates?
    • Why is HTML escaping not the default?
  • BSD-3-Clause License
  • Changes

Project Links

  • Donate
  • PyPI Releases
  • Source Code
  • Issue Tracker
  • Chat

Quick search

© Copyright 2024 Pallets. Created using Sphinx 7.2.6.