I don't see any benefit to moving email settings to a dictionary. It is helpful for databases and caches because there can be multiple backends.
It makes the popular "from local_settings import *" convention harder to use. What's wrong with 6 individual settings? If the goal is to allow
multiple email backends, then let's make that the ticket goal.
I agree with Collin; unless we are adding new capabilities (i.e. multiple configured email backends, which it seems nobody really wants), it's hard
to find any actual benefit from this change to justify the churn (and the additional complexities of working with dictionary settings in partial-override scenarios).
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/aec69c4e-a7c2-4002-bb24-21ab11d89343n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CANvPqgDhevLyPGfXi6R0EgDxDb%2B-cCXOVgzVOX2xAyNDcPiUBQ%40mail.gmail.com.
Steve Mapes Steven Mapes T/A Jigsaw Tech | |
![]() |
I do not understand why you would need multiple email backends to send from different addresses. Can you elaborate on that?
--You received this message because you are subscribed to a topic in the Google Groups "Django developers (Contributions to Django itself)" group.To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-developers/R8ebGynQjK0/unsubscribe.To unsubscribe from this group and all its topics, send an email to django-develop...@googlegroups.com.
Steve Mapes Steven Mapes T/A Jigsaw Tech | |
![]() |
I do not understand why you would need multiple email backends to send from different addresses. Can you elaborate on that?
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CF847694-1156-4BA3-BC92-5F42D434B955%40getmailspring.com.
Okay then,some of the things like sender reputation and different bounce hooks came to my mind as well, but it is good to hear confirmation from others. I think the next steps would be to create a new ticket to add support for *multiple* email backends and then work from that (I would only link the old ticket since it's scope was mainly putting the config into a dict as opposed to multiple backends). Given that there are plenty of +1 here already I think we already have our implementors? :)Some items that I like to see addressed in a PR:* Backwards compat* Similarity to Caches & Databases (ie so we don't invent yet another syntax)* Support for connection aliases (default/…) in send_email % friends (basically everything taking a connection now should probably take aliases as well)