On 09/27/2013 10:52 AM, [email protected] wrote:
> What is the difference between privately tracking a shell file and a Python 
> config file?

Not a lot of difference, but the env vars give you more flexibility. In
a single settings file using env vars, I can easily have things like a
"mode switch" in a single env var that affects the defaults for a number
of related settings, without having to repeat myself on redefining all
those settings. That kind of thing is harder to do cleanly when you're
"inheriting" one settings file from another using "from settings.base
import *", or using local_settings.py.

(Since I don't think Django core is going to take any steps to endorse
any particular approach to handling settings anytime soon, I think this
discussion is really off-topic and should move somewhere else. I should
have considered that before replying to Tom.)

Carl

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to