kracethekingmaker <kracethekingma...@gmail.com> writes:

> Hi
>
>  I am using git. I do dev in my localhost and prod env is my web
> server, I don't have test env. My issue is my model has db params, so
> param are different in both env, so every time I pull and change db
> param, I dont think so this is encouraged, though this has nothing to
> do with python, but most people out here must have faced similar
> situation, kindly let me know best practices.

You should probably keep a -dev settings file which can override the
server parameters (or vice versa). This shouldn be as small as possible
and should be ignored by git. 

-- 
~noufal
http://nibrahim.net.in

Procrastination means never having to say you're sorry.
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to