again with the readme

This commit is contained in:
Kenneth Love
2012-02-28 16:52:14 -08:00
parent e9004c1f0b
commit 26477b3b13

View File

@@ -91,6 +91,7 @@ Example, in a view: ::
msg = DjrillMessage(subject, text_content, from_email, to, tags=tags, from_name=from_name) msg = DjrillMessage(subject, text_content, from_email, to, tags=tags, from_name=from_name)
msg.attach_alternative(html_content, "text/html") msg.attach_alternative(html_content, "text/html")
msg.send() msg.send()
... # you'll want to return some sort of HttpResponse
Any tags over 50 characters in length are silently ignored. Same for any attached alternatives after the first one. Any tags over 50 characters in length are silently ignored. Same for any attached alternatives after the first one.