summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bennett <ubernostrum@gmail.com>2007-09-16 03:57:33 +0000
committerJames Bennett <ubernostrum@gmail.com>2007-09-16 03:57:33 +0000
commit23f95c9dfa5ffd4ea5a11cf8797d03486d0eb6f5 (patch)
tree63f7bc072667884714e007d7d9c423776cbfba87
parentec7d80b9dd6182735545433665d9af46605264d2 (diff)
Fixed #5503 -- corrected a small typo in email example. Thanks, trey@ktrl.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/email.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/email.txt b/docs/email.txt
index 97bdec0037..17c2b2115a 100644
--- a/docs/email.txt
+++ b/docs/email.txt
@@ -328,7 +328,7 @@ attribute on the ``EmailMessage`` class to change the main content type. The
major type will always be ``"text"``, but you can change it to the subtype. For
example::
- msg = EmailMessage(subject, html_content, from_email, to)
+ msg = EmailMessage(subject, html_content, from_email, [to])
msg.content_subtype = "html" # Main content is now text/html
msg.send()