Monday, September 29, 2014

Re: Config: DB or git?

Hi Thomas,

El 29/09/2014 10:05, "Thomas Güttler" <hv@tbz-pariv.de> escribió:
>
> Hi,
>
> of course we separate data from code:
>
>  - code belongs into version control (git)
>  - data belongs into a database (postgres)
>
> But where does configuration belong?

"To the environment"

A good practice is to place config in the environment[0] and load it from code.

0 - http://12factor.net/config

--
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/CAL60nj%2BUufKOYvJPvUd%2Bu8ivJbTLc04S7JEyH-KaXhi-0nkD2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment