Changes between Initial Version and Version 1 of Ticket #27131, comment 4


Ignore:
Timestamp:
Aug 27, 2016, 4:18:23 PM (8 years ago)
Author:
Slava

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27131, comment 4

    initial v1  
    11I 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:
     2For fix in `__init__` in django/core/mail/backends/smtp.py we should add something like this:
    33{{{
    44if self.password.__class__.__name__ == 'unicode':
Back to Top