summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-22 00:47:48 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-22 00:47:48 +0200
commit320e0e65e8dd78869bebb4b2849372d99a5fd40c (patch)
tree5830aee08d172684b71289c6444bc067ad518a99 /ishtar_common/wizards.py
parent99160f84405ac43c029179bc093640621f26116e (diff)
downloadIshtar-320e0e65e8dd78869bebb4b2849372d99a5fd40c.tar.bz2
Ishtar-320e0e65e8dd78869bebb4b2849372d99a5fd40c.zip
Django 1.11: add missing context to some templates
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r--ishtar_common/wizards.py2
1 files changed, 1 insertions, 1 deletions
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],