Re: [BangPypers] Maintaining dev and prod env alike

2012-03-25 Thread Noufal Ibrahim
kracethekingmaker writes: > hi >>> 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 enco

Re: [BangPypers] Maintaining dev and prod env alike

2012-03-25 Thread kracethekingmaker
Thanks all, :) I keep a file devsettings.py alongside settings.py and add environment specific config in it. Then inside settings.py, devsettings is imported and all those settings are taken from there devsettings.py is ignored by git but so that you don't lose any settings and to make sharing

Re: [BangPypers] Maintaining dev and prod env alike

2012-03-25 Thread Vineet Naik
I keep a file devsettings.py alongside settings.py and add environment specific config in it. Then inside settings.py, devsettings is imported and all those settings are taken from there devsettings.py is ignored by git but so that you don't lose any settings and to make sharing of this file with

Re: [BangPypers] Maintaining dev and prod env alike

2012-03-25 Thread kracethekingmaker
hi 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,

Re: [BangPypers] Maintaining dev and prod env alike

2012-03-25 Thread Noufal Ibrahim
kracethekingmaker 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 thi

[BangPypers] Maintaining dev and prod env alike

2012-03-25 Thread kracethekingmaker
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, b