为您找到"
jinja
"相关结果约100,000,000个
Jinja is a Python-based template engine that allows writing code similar to Python syntax in the template. Learn how to install, use, extend and customize Jinja for web development.
This article introduces Jinja and then describes the basics of working with it which includes how to render templates using Jinja and Python3, passing data to the template through arguments, and basic Jinja syntax (delimiters, expressions, control structures - decisions and loops).
Jinja is a text-based template language that allows customization of tags, filters, tests, and globals. It is used by Flask, Ansible, Trac, Salt, and dbt, and has features such as sandboxed execution, automatic HTML escaping, and template inheritance.
Learn how to create and use Jinja templates, a flexible and powerful template engine inspired by Django and Python. Find out how to use variables, filters, tests, comments, whitespace control, and more in your templates.
Jinja2 is a PyPI project that allows writing code similar to Python syntax in templates and rendering them with data. It supports template inheritance, macros, autoescaping, sandboxing, asyncIO, I18N, and more.
Learn how to use Jinja, a powerful and flexible templating engine for Python, with examples and best practices. Jinja is widely used in web frameworks, configuration management tools, documentation generators, and more.
Learn how to use Jinja, a powerful and flexible template engine for Python, with this API reference. Find out how to configure, load, render, and extend templates with various options and features.
Jinja2 is a designer-friendly, secure, and fast templating engine for Python. Learn how to install, use, and integrate it with web frameworks like Flask and Django, and see examples of loops, conditionals, filters, and inheritance.
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. It includes: Template inheritance and inclusion. Define and import macros within templates. HTML templates can use autoescaping to prevent XSS from untrusted user input. A sandboxed ...
Jinja's features such as blocks, statements, filters, and function calls make it much easier to write expressive templates, with very few restrictions. Jinja doesn't allow arbitrary Python code in templates, or every feature available in the Python language. This keeps the engine easier to maintain, and keeps templates more readable.