4 ms·
I like the idea of a single consolidated config file as long as: 1. It supports real comments (so not json) 2. It supports imports/includes so if it gets unwie
by thayne 6y ago
I like the idea of a single consolidated config file as long as:
1. It supports real comments (so not json)
2. It supports imports/includes so if it gets unwieldy it can be split up.
- paulie_a 6y agoSplittig it up so you can also determine the environment. I do this with Django settings the time: base/common, local, testing, production. The latter are very tiny and contain small bits of extra configuration. Personally I like this approach way more than a bunch of if/else statements in a single file.