> 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
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
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
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
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
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
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
7 matches
Mail list logo