Changed application accept email formatting to html

This commit is contained in:
Ojakoo
2022-06-20 16:44:06 +03:00
parent ec4317d9e7
commit d1953ef24c
2 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ def application_accept(request, *args, **kwargs):
"members:email_application_accept.html",
{"first_name": application.first_name},
)
send_email(member.email, subject, message)
send_email(member.email, subject, message, True)
return HttpResponseRedirect(
"/members/list?notification={}".format(html.escape(notification))