jinja2.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:open-ledger 作者: creativecommons 项目源码 文件源码
def environment(**options):
    env = Environment(**options)
    env.globals.update({
        'static': staticfiles_storage.url,
        'url': url_tag,
        'url_for': url_tag,
        'url_with_form': url_with_form,
    })
    return env
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号