跳转到主要内容

了解Django模板期望的上下文变量

项目描述

用法:

>>> from djtemplateinspector import get_variables
>>> from django.template import Template
>>> tmpl = Template("欢迎,{{ user }}!")
>>> get_variables(tmpl)
["user"]

项目详情


下载文件

为您的平台下载文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

django-templateinspector-0.1.tar.gz (1.7 kB 查看哈希)

上传时间:

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面