On Mon, Sep 29, 2014 at 8:15 AM, Alejandro Varas G.
<alej0varas@gmail.com> wrote:
>> But where does configuration belong?
>
> "To the environment"
this is the currently fashionable answer, but I haven't seen any
justification for it. Unfortunately, the 12factors manifesto tells
the how, but very little of the why.
In my experience, environment variables are clumsy, fragile and a pain
to work with.
I guess a more balanced option would be to store somewhere else,
probably the database (although i'm not too opposed to VCS) with the
host-variable parts (or everything, who cares about a couple KB extra
storage?) as a set indexed by hostname, which is read from the
environment.
--
Javier
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFkDaoS6LJXMwha5CO5MBm4NvUr8OUOOnTxX3dkSXwBNNjL%3DaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment