On Fri, Sep 5, 2014 at 12:49 PM, Russell Keith-Magee <
[email protected]> wrote:

>
> On Fri, Sep 5, 2014 at 9:57 AM, Carl Meyer <[email protected]> wrote:
>
>> On 09/05/2014 10:46 AM, Tim Graham wrote:
>> > In the meantime, shall we abandon the idea of organizing settings in
>> > dictionaries for "purity"? May we add new settings as described here:
>> > https://code.djangoproject.com/ticket/22734#comment:22
>>
>> IMO, yes.
>>
>> When we already have a subsystem, like email, which is configured via
>> global settings, and it really needs a new configuration knob (we should
>> continue to be generally conservative in making that assessment), I see
>> very little downside to a new setting. If there's to be a new knob, best
>> to put it in the same place as the existing knobs for that component.
>>
>
> +1. If we actually need a new email setting for timeouts, I have no
> objection to adding EMAIL_TIMEOUT.
>

​I'd like to see the email settings get moved into a dictionary so that I
can use a single environment variable to configure it very easily, ala
dj-database-url. There's dj-email-url right now, but it requires 7 lines to
configure unless I want to restore to using vars() to update them all at
once. There should be a way to set this one logical setting (based on the
environment variable)​ without being implicit (using var().update) or
spending 7 lines on something this stupidly simple.

-- 
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/CABpHFHQ2Hn7JPqh7F9rzXz6CA1yr1hG3Bc1Zi%2BGXDkLzsBdOTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to