Commit e4a6a01b authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis Committed by Christos Stavrakakis
Browse files

wheezy: mail_admins method in Django has changed

An extra parameter (html_message) has been added.
parent 217ac595
......@@ -42,7 +42,8 @@ import re
HIDDEN_ALL = settings.HIDDEN_COOKIES + settings.HIDDEN_HEADERS
def mail_admins_safe(subject, message, fail_silently=False, connection=None):
def mail_admins_safe(subject, message, fail_silently=False,
connection=None, html_message=None):
'''
Wrapper function to cleanse email body from sensitive content before
sending it
......
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