#22734: Move SMTP / email settings to a dictionary
-------------------------------------+-------------------------------------
Reporter: jwa | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: master
Component: Core (Mail) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: settings, email, | Needs documentation: 0
mail, smtp | Patch needs improvement: 1
Has patch: 1 | UI/UX: 0
Needs tests: 1 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by claudep):
The difficulty will be to not force the user to redefine all settings just
to change the SMTP port, for example. There was such a tentative in my
patch, not sure if it will works for multilevel dicts.
That is:
{{{
EMAIL = {
'OPTIONS': {
'PORT': 587,
}
}
}}}
should have the same effect as the former `EMAIL_PORT = 587`
--
Ticket URL: <https://code.djangoproject.com/ticket/22734#comment:16>
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/061.b9b84ce03670fdaa5cd48a715877c146%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.