registration_backend/forms.py: fix passing of the HTML template to the send_mail function
This commit is contained in:
parent
c8e10def06
commit
83d8390623
|
@ -63,7 +63,7 @@ class RegistrationForm(Form):
|
|||
ctx_dict)
|
||||
send_mail(subject, message, settings.DEFAULT_FROM_EMAIL,
|
||||
[data['email']], fail_silently=True,
|
||||
html_message=message)
|
||||
html_message=html_message)
|
||||
else:
|
||||
send_mail(subject, message, settings.DEFAULT_FROM_EMAIL,
|
||||
[data['email']], fail_silently=True)
|
||||
|
|
Loading…
Reference in New Issue