[1.1.X] Fixed #13420 -- Clarified grammar in the email docs. Thanks to Dominic Rodger for the report.
Backport of r13104 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
125ea947df
commit
1d7c4a96ab
|
@ -324,7 +324,7 @@ guarantees that any recipient will be able to read the e-mail, regardless of
|
|||
their mail client. However, if you are confident that your recipients can
|
||||
handle an alternative content type, you can use the ``content_subtype``
|
||||
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
|
||||
major type will always be ``"text"``, but you can change the subtype. For
|
||||
example::
|
||||
|
||||
msg = EmailMessage(subject, html_content, from_email, [to])
|
||||
|
|
Loading…
Reference in New Issue