Re: How to share settings file in multiprogrammer project

2010-03-29 Thread Phlip
> The test_settings and dev_settings should point to a PASSWORDLESS > database with localhost-only permissions. The production_settings file > should not be committed. It's the one copied up to the server. Come to think of it, what I'm screaming about here is three separate things: - developer d

Re: How to share settings file in multiprogrammer project

2010-03-29 Thread Phlip
Guillermo wrote: > I'm working on a project with multiple programmers for the first time, > and I'm not sure how I should go about commiting the Django project's > setting file to the public repo. Since it can contain sensitive data, It should not contain sensitive data. You should write sub-sett

Re: How to share settings file in multiprogrammer project

2010-03-29 Thread Gustavo Narea
We use Paste Deploy configuration files [1] and we have a main/base configuration file under version control, which gets overridden with a non-versioned configuration file with holds all the sensitive information specific to that instance of the application. This way, such information is not under

Re: How to share settings file in multiprogrammer project

2010-03-28 Thread saxix
I use this way: at the end of your settings.py: try: from settings_local import * except ImportError: pass into settings_local.py from settings import * and override all settings you need in this way you can share common/integration configuration but each developer is free to override what

Re: How to share settings file in multiprogrammer project

2010-03-28 Thread Antoni Aloy
Use an additional file such "properties.py" or "local_settings.py" and put the credentials an other programmer specific information there and import that file on settings.py overriding the values o using: import properties VALUE=getattr(properties, 'value', default_value) properties.py hasn't to

Re: How to share settings file in multiprogrammer project

2010-03-28 Thread Mike Dewhirst
On 29/03/2010 7:50am, Guillermo wrote: Hi, I'm working on a project with multiple programmers for the first time, and I'm not sure how I should go about commiting the Django project's setting file to the public repo. Since it can contain sensitive data, how's this done usually so everybody works

How to share settings file in multiprogrammer project

2010-03-28 Thread Guillermo
Hi, I'm working on a project with multiple programmers for the first time, and I'm not sure how I should go about commiting the Django project's setting file to the public repo. Since it can contain sensitive data, how's this done usually so everybody works with the same settings during developmen