Fixed #13420 -- Clarified grammar in the email docs. Thanks to Dominic Rodger for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-05-06 01:17:29 +00:00
parent 33d4aa8df1
commit 0f6555bce2
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ 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 confident that your recipients can handle an alternative content type, you can
use the ``content_subtype`` attribute on the use the ``content_subtype`` attribute on the
:class:`~django.core.mail.EmailMessage` class to change the main content type. :class:`~django.core.mail.EmailMessage` class to change the main content type.
The major type will always be ``"text"``, but you can change it to the The major type will always be ``"text"``, but you can change the
subtype. For example:: subtype. For example::
msg = EmailMessage(subject, html_content, from_email, [to]) msg = EmailMessage(subject, html_content, from_email, [to])