Unicode Unicode Jinja2 is using Unicode internally which means that you have to pass Unicodeobjects to the render function or bytestrings that only consist of ASCIIcharacters. ...
Utilities Utilities These helper functions and classes are useful if you add custom filters orfunctions to a Jinja2 environment. jinja2. environmentfilter (f) Decorator for ...
Undefined Types Undefined Types These classes can be used as undefined types. The Environment constructor takes an undefined parameter that can be one of those classesor a cus...
The form rendering API The low-level render API Built-in-template form renderers DjangoTemplates Jinja2 TemplatesSetting Context available in widget templates Overriding buil...
实用工具 实用工具 这些辅助函数和类在你向 Jinja2 环境中添加自定义过滤器或函数时很有用。 jinja2.environmentfilter(f) Decorator for marking evironment dependent filters. The currentEnvironment is passed to the fil...
The form rendering API The low-level render API Built-in-template form renderers DjangoTemplates Jinja2 TemplatesSetting Context available in widget templates Overriding buil...