积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(197)Python(105)C++(65)Conan(64)Scrapy(60)数据库(42)Django(34)综合其他(33)Blender(32)TiDB(31)

语言

全部英语(230)中文(简体)(57)中文(繁体)(10)英语(1)

格式

全部PDF文档 PDF(236)其他文档 其他(62)
 
本次搜索耗时 0.367 秒,为您找到相关结果约 298 个.
  • 全部
  • 后端开发
  • Python
  • C++
  • Conan
  • Scrapy
  • 数据库
  • Django
  • 综合其他
  • Blender
  • TiDB
  • 全部
  • 英语
  • 中文(简体)
  • 中文(繁体)
  • 英语
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Jinja2 Documentation Release 2.10

    Jinja2 Documentation Release 2.10 November 08, 2017 Contents I Jinja2 Documentation 1 1 Introduction 3 2 API 7 3 Sandbox 39 4 Native Python Types 45 5 Template Designer Documentation 47 6 Extensions Jinja Changelog 125 i ii Part I JINJA2 DOCUMENTATION 1 2 CHAPTER 1 Introduction This is the documentation for the Jinja2 general purpose templating language. Jinja2 is a library for Python that is Prerequisites Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3. If you are using Python 3.2 you can use an older release of Jinja2 (2.6) as support for Python 3.2 was dropped in Jinja2 version 2.7. If
    0 码力 | 148 页 | 475.08 KB | 1 年前
    3
  • epub文档 Flask Documentation (1.1.x)

    cross-site scripting (XSS). Unless you deliberately mark insecure HTML as secure, Flask and the underlying Jinja2 template engine have you covered. But there are many more ways to cause security problems. The documentation the HTML escaping on your own to keep the application secure. Because of that Flask configures the Jinja2 [http://jinja.pocoo.org/] template engine for you automatically. To render a template you can use /templates /hello.html For templates you can use the full power of Jinja2 templates. Head over to the official Jinja2 Template Documentation [http://jinja.pocoo.org/docs/templates/] for more information
    0 码力 | 428 页 | 895.98 KB | 1 年前
    3
  • pdf文档 Flask Documentation (1.1.x)

    scripting (XSS). Unless you delib- erately mark insecure HTML as secure, Flask and the underlying Jinja2 template engine have you covered. But there are many more ways to cause security problems. The documentation the HTML escaping on your own to keep the application secure. Because of that Flask configures the Jinja2 template engine for you automatically. To render a template you can use the render_template() method /__init__.py /templates /hello.html For templates you can use the full power of Jinja2 templates. Head over to the official Jinja2 Template Documentation for more information. Here is an example template:
    0 码力 | 291 页 | 1.25 MB | 1 年前
    3
  • pdf文档 Flask入门教程

    要学习使用的模板渲 染引擎——Jinja2 来完成。 按照默认的设置,Flask 会从程序实例所在模块同级目录的 templates 文件夹中寻 找模板,我们的程序目前存储在项目根目录的 app.py 文件里,所以我们要在项目 根目录创建这个文件夹: $ mkdir templates 模板基本语法 在社交网站上,每个人都有一个主页,借助 Jinja2 就可以写出一个通用的模板:

    {{ else %}

    自我介绍为空。

    {% endif %} {# 大部分 Jinja 语句都需要声明关闭 #} Jinja2 的语法和 Python 大致相同,你在后面会陆续接触到一些常见的用法。在模 板里,你需要添加特定的定界符将 Jinja2 语句和变量标记出来,下面是三种常用的 定界符: {{ ... }} 用来标记变量。 {% ... %} 用来标记语句,比如 href="http://helloflask.com/tutori al">HelloFlask 为了方便对变量进行处理,Jinja2 提供了一些过滤器,语法形式如下: {{ 变量|过滤器 }} 左侧是变量,右侧是过滤器名。比如,上面的模板里使用 length 过滤器来获取 movies 的长度,类似 Python

    0 码力 | 127 页 | 7.62 MB | 1 年前
    3
  • pdf文档 Python3 基础教程 - 廖雪峰

    jpg', 'JPEG') 其他常用的第三方库还有 MySQL 的驱动:mysql-connector-python,用 于科学计算的 NumPy 库:numpy,用于生成文本的模板工具 Jinja2,等 等。 模块搜索路径 当我们试图加载一个模块时,Python 会在指定的路径下搜索对应的.py 文件,如果找不到,就会报错: >>> import mymodule Traceback 一个名为 venv 的 Python 环境。 下面正常安装各种第三方包,并运行 python 命令: (venv)Mac:myproject michael$ pip install jinja2 ... Successfully installed jinja2-2.7.3 markupsafe-0.23 (venv)Mac:myproject michael$ python myapp render_template()函数来实现模板的渲染。和 Web 框架类似, Python 的模板也有很多种。Flask 默认支持的模板是 jinja2,所以我们先 直接安装 jinja2: $ pip install jinja2 然后,开始编写 jinja2 模板: Python3 基础教程【完整版】 http://www.yeayee.com/ 431/531 home.html
    0 码力 | 531 页 | 5.15 MB | 1 年前
    3
  • pdf文档 Django 2.1.x Documentation

    previous page) }, { 'BACKEND': 'django.template.backends.jinja2.Jinja2', 'DIRS': [ '/home/html/jinja2', ], }, ] If you call get_template('story_detail.html'), here are the files Django will look for ('django' engine) • /home/html/default/story_detail.html ('django' engine) • /home/html/jinja2/story_detail.html ('jinja2' engine) If you call select_template(['story_253_detail.html', 'story_detail.html']) /home/html/jinja2/story_253_detail.html ('jinja2' engine) • /home/html/example.com/story_detail.html ('django' engine) • /home/html/default/story_detail.html ('django' engine) • /home/html/jinja2/story_detail
    0 码力 | 1910 页 | 6.49 MB | 1 年前
    3
  • pdf文档 Django 1.11.x Documentation

    '/home/html/default', ], }, { 'BACKEND': 'django.template.backends.jinja2.Jinja2', 'DIRS': [ '/home/html/jinja2', ], }, ] If you call get_template('story_detail.html'), here are the files Django will look for Templates 271 Django Documentation, Release 1.11.30.dev20200305075726 • /home/html/jinja2/story_detail.html ('jinja2' engine) If you call select_template(['story_253_detail.html', 'story_detail.html']) /home/html/jinja2/story_253_detail.html ('jinja2' engine) • /home/html/example.com/story_detail.html ('django' engine) • /home/html/default/story_detail.html ('django' engine) • /home/html/jinja2/story_detail
    0 码力 | 1878 页 | 6.40 MB | 1 年前
    3
  • pdf文档 Django 2.0.x Documentation

    previous page) }, { 'BACKEND': 'django.template.backends.jinja2.Jinja2', 'DIRS': [ '/home/html/jinja2', ], }, ] If you call get_template('story_detail.html'), here are the files Django will look for ('django' engine) • /home/html/default/story_detail.html ('django' engine) • /home/html/jinja2/story_detail.html ('jinja2' engine) If you call select_template(['story_253_detail.html', 'story_detail.html']) /home/html/jinja2/story_253_detail.html ('jinja2' engine) • /home/html/example.com/story_detail.html ('django' engine) • /home/html/default/story_detail.html ('django' engine) • /home/html/jinja2/story_detail
    0 码力 | 1880 页 | 6.41 MB | 1 年前
    3
  • epub文档 Django 1.11.x Documentation

    'BACKEND': 'django.template.backends.jinja2.Jinja2', 'DIRS': [ '/home/html/jinja2', ], }, ] If you call get_template('story_detail.html'), here are the files Django will ('django' engine) /home/html/default/story_detail.html ('django' engine) /home/html/jinja2/story_detail.html ('jinja2' engine) If you call select_template(['story_253_detail.html', 'story_detail.html']) /home/html/jinja2/story_253_detail.html ('jinja2' engine) /home/html/example.com/story_detail.html ('django' engine) /home/html/default/story_detail.html ('django' engine) /home/html/jinja2/story_detail
    0 码力 | 2747 页 | 2.67 MB | 1 年前
    3
  • epub文档 Django 2.1.x Documentation

    'BACKEND': 'django.template.backends.jinja2.Jinja2', 'DIRS': [ '/home/html/jinja2', ], }, ] If you call get_template('story_detail.html'), here are the files Django will ('django' engine) /home/html/default/story_detail.html ('django' engine) /home/html/jinja2/story_detail.html ('jinja2' engine) If you call select_template(['story_253_detail.html', 'story_detail.html']) /home/html/jinja2/story_253_detail.html ('jinja2' engine) /home/html/example.com/story_detail.html ('django' engine) /home/html/default/story_detail.html ('django' engine) /home/html/jinja2/story_detail
    0 码力 | 2790 页 | 2.71 MB | 1 年前
    3
共 298 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 30
前往
页
相关搜索词
Jinja2DocumentationRelease2.10Flask1.1入门教程入门教程Python3基础基础教程雪峰Django2.11.112.0
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩