2 ms·
OP here. You can use whatever you want in settings.py. It's "why" that matters. Yeah, you can boil it down to "use env", but do people know why it's usually t
by senko 5y ago
OP here.
You can use whatever you want in settings.py. It's "why" that matters.
Yeah, you can boil it down to "use env", but do people know why it's usually the best approach? In my experience, many don't, hence the blog post.
I mean, if it were obvious and accepted truth, Django would be doing this by default already.
- leetrout 5y agoThe community writ large is already using django-environ to solve the problems you faced. https://github.com/joke2k/django-environ https://github.com/joke2k/django-environ