Ramiro tried to do something similar, moving the cookie settings to a dictionary, see #21051 <https://code.djangoproject.com/ticket/21051>, but gave up due to backwards compatibility concerns. Not saying it's impossible, but it may be a bit trickier than it looks at first.
On Wednesday, May 28, 2014 7:06:00 AM UTC-4, Julian Wachholz wrote: > > Hi django-developers > > I'd like to propose a relatively small change to the way we configure our > SMTP email backends. > Up until now, configuring your SMTP backend took up to 6 individual > settings, ranging from EMAIL_HOST to EMAIL_USE_SSL etc. > > We already have a dictionary to configure things like caches and > databases, so why not for sending email (at least with the SMTP backend). > I've already created a POC branch complete with docs and deprecation > warnings here: > https://github.com/julianwachholz/django/tree/feature/12factor-smtp > > Please let me know what you think! > > Cheers > Julian > > PS: This change is only so altruistic, as it would enable me to include > email settings in my dj-database-url fork ( > https://github.com/julianwachholz/dj-config-url). > > -- You received this message because you are subscribed to the Google Groups "Django developers" 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]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/2a94dfa5-e087-4d5f-9b34-620652611c82%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
