Changes between Initial Version and Version 1 of Ticket #27131, comment 4
- Timestamp:
- Aug 27, 2016, 4:18:23 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27131, comment 4
initial v1 1 1 I have checked for python3 everything is ok, because of with python3 Django passes password as string to smtplib, so this error is relevant only for python2. 2 For fix in __init__in django/core/mail/backends/smtp.py we should add something like this:2 For fix in `__init__` in django/core/mail/backends/smtp.py we should add something like this: 3 3 {{{ 4 4 if self.password.__class__.__name__ == 'unicode':