> On Oct 22, 10:09 pm, Kenneth Gonsalves <law...@au-kbc.org> wrote:
>
> > 5. Note: settings.py is not put under version control as this holds
> > sensitive information and paths differ according to the server it is
> on.
> > I create a default.settings.py which has the sensitive information
> > removed. That is kept under version control.
>
> Another approach to this problem:
>
> settings.py IS in version control and includes settings that are
> universal to all environments (local dev, staging, production), but
> has dummy info or empty strings for passwords or paths or other
> information that vary between environments.
this is a better approach - much more professional (I *did* say I am an
amateur;-))
--
regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment