Closed mirzadelic closed 11 years ago
Can merge_vars be used in django templates, so django pass template in html to mandrill and it use merge_vars from that template?
msg = EmailMessage(subject=subject, from_email="store@example.com", to=["customer@example.com"], body=text_body) msg.attach_alternative(html_body, "text/html") //here merge vars msg.send()
It works, sorry.
Can merge_vars be used in django templates, so django pass template in html to mandrill and it use merge_vars from that template?