书栈网 · BookStack 本次搜索耗时 0.018 秒,为您找到 501 个相关结果.
  • README

    Jinja Jinja Jinja is a modern and designer-friendly templating language for Python,modelled after Django’s templates. It is fast, widely used and securewith the optional san...
  • SQL Templating

    SQL Templating Jinja Templates Available Macros SQL Templating Jinja Templates SQL Lab and Explore supports Jinja templating in queries. To enable templating, the ENABLE_TEM...
  • Import Context Behavior

    Import Context Behavior Import Context Behavior By default, included templates are passed the current context and importedtemplates are not. The reason for this is that imports...
  • Frequently Asked Questions

    811 2018-06-30 《Jinja2英文文档》
    Frequently Asked Questions¶ Why is it called Jinja?¶ How fast is it?¶ How Compatible is Jinja2 with Django?¶ Isn’t it a terrible idea to put Logic into Templates?¶ Why is Autoe...
  • 导入上下文行为

    导入上下文行为 导入上下文行为 默认下,每个包含的模板会被传递到当前上下文,而导入的模板不会。这样做的原因是导入量不会像包含量被缓存,因为导入量经常只作容纳宏的模块。 无论如何,这当然也可以显式地更改。通过在 import/include 声明中直接添加with context 或 without context ,当前的上下文可以传递到模板,而且...
  • Frequently Asked Questions

    Frequently Asked Questions Why is it called Jinja? How fast is it? How Compatible is Jinja2 with Django? Isn’t it a terrible idea to put Logic into Templates? Why is Autoescapi...
  • 资源管理

    资源管理 管理、压缩、缩小网站资源的工具。 django-compressor:将链接和内联的 JavaScript 或 CSS 压缩到一个单独的缓存文件中。官网 django-storages:一个针对 Django 的自定义存储后端的工具集合。官网 fanstatic:打包、优化,并且把静态文件依赖作为 Python 的包来提供。官网 Fi...
  • Ansible 2.5 Porting Guide

    Ansible 2.5 Porting Guide Playbook Dynamic includes and attribute inheritance Fixed handling of keywords and inline variables Migrating from with_X to loop with_list with_items...
  • Integration

    Integration Babel Integration Pylons TextMate Vim Integration Jinja2 provides some code for integration into other tools such as frameworks,the Babel library or your favou...
  • 安装

    安装 安装 下面命令可以安装扩展: $ easy_install Flask - Babel 或者如果你安装了 pip: $ pip install Flask - Babel 请注意 Flask-Babel 需要 Jinja 2.5。如果你安装一个老的版本你将会需要升级或者禁止 Jinja 支持。