wok-6.x diff python-jinja2/description.txt @ rev 25377

updated udpxy (1.0.24.1 -> 1.0.25.1)
author Hans-G?nter Theisgen
date Sat Jul 30 11:20:37 2022 +0100 (2022-07-30)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-jinja2/description.txt	Sat Jul 30 11:20:37 2022 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +Jinja is a fast, expressive, extensible templating engine.
     1.5 +Special placeholders in the template allow writing code similar to Python syntax.
     1.6 +Then the template is passed data to render the final document.
     1.7 +
     1.8 +It includes:
     1.9 +
    1.10 +- Template inheritance and inclusion.
    1.11 +- Define and import macros within templates.
    1.12 +- HTML templates can use autoescaping to prevent XSS from untrusted user input.
    1.13 +- A sandboxed environment can safely render untrusted templates.
    1.14 +- AsyncIO support for generating templates and calling async functions.
    1.15 +- I18N support with Babel.
    1.16 +- Templates are compiled to optimized Python code just-in-time and cached,
    1.17 +  or can be compiled ahead-of-time.
    1.18 +- Exceptions point to the correct line in templates to make debugging easier.
    1.19 +- Extensible filters, tests, functions, and even syntax.
    1.20 +
    1.21 +Jinja's philosophy is that while application logic belongs in Python if possible,
    1.22 +it shouldn't make the template designer's job difficult by restricting
    1.23 +functionality too much.