client.py 文件源码

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

项目:liberator 作者: libscie 项目源码 文件源码
def store_rendered_templates(store, signal, sender, template, context, **kwargs):
    """
    Stores templates and contexts that are rendered.

    The context is copied so that it is an accurate representation at the time
    of rendering.
    """
    store.setdefault('templates', []).append(template)
    if 'context' not in store:
        store['context'] = ContextList()
    store['context'].append(copy(context))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号