From 320e0e65e8dd78869bebb4b2849372d99a5fd40c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 22 Aug 2017 00:47:48 +0200 Subject: Django 1.11: add missing context to some templates --- ishtar_common/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/wizards.py') diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 4a7181e9f..ca18d6697 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -1421,7 +1421,7 @@ class AccountWizard(Wizard): 'site': site and site.domain or "" } t = loader.get_template('account_activation_email.txt') - msg = t.render(context) + msg = t.render(context, self.request) subject = _(u"[%(app_name)s] Account creation/modification") % { "app_name": app_name} send_mail(subject, msg, settings.ADMINS[0][1], -- cgit v1.2.3