On Mon, Jun 7, 2010 at 1:15 AM, Chris <[email protected]> wrote:
>> try:
>>   from settings_local import *
>> except:
>>   # It's ok to not have any local settings.
>>   pass
>
> This pattern is used by almost everybody it seems. Is there any reason
> why this pattern hasn't been adopted by "django-admin.py startproject"
> yet?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/django-developers?hl=en.
>
>

For one thing I'd say because most *really* large projects realize
this is a really bad way of handling settings.  From my experiences
I'd say it makes a lot of sense to invert the dependencies, localized
settings require the global defaults, not the reverse.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your
right to say it." -- Voltaire
"The people's good is the highest law." -- Cicero
"Code can always be simpler than you think, but never as simple as you
want" -- Me

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to