mailer.py 文件源码

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

项目:vaultier 作者: Movile 项目源码 文件源码
def _build_context(self, **kwargs):
        """
        Must return an instance of django.template.context.Context
        with the template variables set for each implementation
        :return: None
        """
        # adding full url to logo
        kwargs.update({
            'logo_url': "{}vaultier/images/logo-email.png".format(
                urljoin(settings.SITE_URL, settings.STATIC_URL))
        })
        return Context(kwargs)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号