书栈网 · BookStack 本次搜索耗时 0.024 秒,为您找到 729 个相关结果.
  • Templating (Jinja2)

    Templating (Jinja2) ansible IRC chat channel Templating (Jinja2) As already referenced in the variables section, Ansible uses Jinja2 templating to enable dynamic expressions a...
  • Jinja2 Changelog

    Jinja2 Changelog Version 2.7 Version 2.6 Version 2.5.5 Version 2.5.4 Version 2.5.3 Version 2.5.2 Version 2.5.1 Version 2.5 Version 2.4.1 Version 2.4 Version 2.3.1 Versio...
  • 使用 Jinja2 模板引擎

    使用 Jinja2 模板引擎 什么是模板引擎 为什么要使用模板引擎 Jinja 模板引擎入门 变量 控制结构 宏 模板继承 使用 Jinja2 模板引擎 什么是模板引擎 在 Web 开发中,我们经常会使用到模板引擎。简单点来说,我们可以把模板看成是一个含有某些变量的字符串,它们的具体值需要在动态运行时(请求的上下文)才能知道 。比如...
  • 缓存Jinja2片段

    缓存Jinja2片段 缓存Jinja2片段 用法: {% cache [ timeout [,[ key1 , [ key2 , ...]]]] %} ... {% endcache %} 默认情况下“模版文件路径”+“片段开始的函数”用来作为缓存键。同样键名是可以手动设置的。键名串联成一个字符串,这样能够用于避...
  • 在web.py中使用Jinja2模板引擎

    Use Jinja2 template engine in webpy 问题 方案 模板文件: templates/hello.html Use Jinja2 template engine in webpy 问题 如何在web.py中使用Jinja2 (http://jinja.pocoo.org/2/ ) 模板引擎? 方案 首先需...
  • Writing Extensions

    Writing Extensions Example Extension Extension API Parser API AST Writing Extensions By writing extensions you can add custom tags to Jinja2. This is a non-trivialtask and ...
  • Introduction

    Introduction Prerequisites Installation As a Python egg (via easy_install) From the tarball release Installing the development version MarkupSafe Dependency Basic API Usage ...
  • 安装

    安装 作为一个 Python egg (通过 easy_install) 从 tarball 版本安装 安装开发版本 加速 MarkupSafe 启用调试支持模块 安装 条条大路通 Jinja2 。如果你不确定怎么做,用 Python egg 或 tarball 吧。 作为一个 Python egg (通过 easy_install)...
  • Integration

    634 2018-06-30 《Jinja2英文文档》
    Integration¶ Babel Integration¶ Pylons¶ TextMate¶ Vim¶ Integration¶ Jinja2 provides some code for integration into other tools such as frameworks,the Babel library or your...
  • Templates

    Templates The Django template language Syntax Variables Tags Filters Comments Components Engine Template Context Loaders Context processors Support for template engines...