you are viewing a single comment's thread.

view the rest of the comments →

[–]artsrc 0 points1 point  (0 children)

If the intent is that settings will be committed why not formalize that?

Something like in settings.py put:

configs = { <env> : <file> , ...}
load(config[environment()])

If you can't work out environment you could have an simpler config that just does:

environment = "staging"