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)
评论列表
文章目录