#22734: Move SMTP / email settings to a dictionary
-------------------------------------+-------------------------------------
     Reporter:  jwa                  |      Owner:  nobody
         Type:                       |     Status:  new
  Cleanup/optimization               |    Version:  master
    Component:  Core (Mail)          |   Keywords:  settings, email, mail,
     Severity:  Normal               |  smtp
 Triage Stage:  Unreviewed           |  Has patch:  1
Easy pickings:  0                    |      UI/UX:  0
-------------------------------------+-------------------------------------
 Email settings for the SMTP backend are currently configured using 6
 different variables. As there will be more and more to configure in the
 future (see #20743) it might be an idea to move these settings into a
 dictionary, similar to the way `DATABASES` or `CACHES` are configured.

 An initial patch can be found here:
 https://github.com/julianwachholz/django/tree/feature/12factor-smtp

 Things to note:

 Backwards compatibility is a large concern here, as previously detected in
 #21051. One way to introduce these setting without breaking user-space
 code that directly accesses the `EMAIL_*` settings would be to have lazy
 settings within `global_settings.py`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22734>
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/046.8d00f13670938cd15665dca9652d1902%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to