Changes between Initial Version and Version 1 of Ticket #29535
- Timestamp:
- Jun 29, 2018, 5:21:39 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29535 – Description
initial v1 1 1 There are a couple of errors in the [https://docs.djangoproject.com/en/2.0/topics/email/ "Sending email"] documentation page. 2 2 3 The "attachments" instructions always says the attachments can be "either `email.MIMEBase.MIMEBase` instances, or (filename, content, mimetype) triples.". Turns out the `email.MIMEBase.MIMEBase` module does not exist, and the correct one is [https://docs.python.org/3/library/email.mime.html#email.mime.base.MIMEBase `email.mime.base.MIMEBase`].3 The "attachments" instructions always says the attachments can be "either `email.MIMEBase.MIMEBase` instances, or (filename, content, mimetype) triples.". Turns out the `email.MIMEBase.MIMEBase` module does not exist, and the correct one is `email.mime.base.MIMEBase` as can be seen in [https://docs.python.org/3/library/email.mime.html#email.mime.base.MIMEBase Python docs]. 4 4 5 5 Error can be found in [https://github.com/django/django/blob/master/docs/topics/email.txt#L275 this] and [https://github.com/django/django/blob/master/docs/topics/email.txt#L330 this] lines of the documentation.