Commit 06d814e7 authored by Adrián Ribao's avatar Adrián Ribao
Browse files

bug fix with formatting

parent 117b1af6
......@@ -36,7 +36,7 @@ class CreateUser(CreateUserBase):
'site': site,
}
content = t.render(Context(data))
send_mail(_(u'Activate your account in %(site_name)s' % (site.name,)), content, 'web@adrima.es',
send_mail(_(u'Activate your account in %(site_name)s' % {'site_name':site.name,}), content, 'web@adrima.es',
[user.email,], fail_silently=False)
#context ={
#}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment