#23253: "MANAGERS" setting doesn't correctly process the value, if it is given 
as
described in the documentation
----------------------------------+--------------------
     Reporter:  angry.kustomer@…  |      Owner:  nobody
         Type:  Bug               |     Status:  new
    Component:  Core (Mail)       |    Version:  1.6
     Severity:  Normal            |   Keywords:
 Triage Stage:  Unreviewed        |  Has patch:  0
Easy pickings:  0                 |      UI/UX:  0
----------------------------------+--------------------
 Django 1.6.5
 According to the docs
 (https://docs.djangoproject.com/en/1.6/ref/settings/#managers) MANAGERS
 expects a tuple
 of the same format as for ADMINS, that is tuple of tuples.
 In the practice it crashes with an error:

     PATH_TO_MY_VIRTUAL_ENV/lib/python3.4/site-
 packages/django/core/mail/message.py", line 244, in message
         msg['To'] = self.extra_headers.get('To', ', '.join(self.to))

     TypeError: sequence item 0: expected str instance, tuple found


 That is system currently expects it to be a tuple of strings, not other
 tuples. If given so, everything works fine.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23253>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.030e2125ab22ef3db959b275a9db4e1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to