Thanks everyone for the suggestions. I might have "over-done" my
solution, but it works and my colleagues, clients and myself are
satisfied. If you're interested, I use JSON to specify some settings
with should override those in settings.py. See http://gnuvince.net/?p=371
for more information.
Kenneth Gonsalves schrieb:
> never ever put settings.py under version control
ack.
In PyLucid i put only a settings-example.py into my svn:
http://pylucid.net/trac/browser/branches/0.8%28django%29/PyLucid/settings-example.py
In the handler file (here a CGI handler), i check this:
Hi Vincent.
On Mar 14, 5:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Does anyone have tricks to make this process a bit more efficient and
> not catastrophic in case we forget to copy the settings.py file?
I use conditionals inside my settings.py so that one lot of paths/
settings
On 14-Mar-07, at 10:46 PM, [EMAIL PROTECTED] wrote:
> how do people deploy Django projects with subversion? We did a simple
> checkout at a client's and when we need to do updates, we copy his
> settings.py file somewhere outside the directory, do the svn update,
> we copy the settings.py
Also, keep in mind that you can tell svn to ignore a particular file
even though it is located in a working directory. We keep a settings.py
under svn control, and have it import a local.py which is ignored. This
way, each developer can make local modifications without fear of
accidentally
On Wed, 2007-03-14 at 17:16 +, [EMAIL PROTECTED] wrote:
> Hello,
>
> how do people deploy Django projects with subversion? We did a simple
> checkout at a client's and when we need to do updates, we copy his
> settings.py file somewhere outside the directory, do the svn update,
> we copy
Hi Vincent,
Check out http://code.djangoproject.com/wiki/DosAndDontsForApplicationWriters.
Bob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
This one is a bit more direct: http://code.djangoproject.com/wiki/SplitSettings
Bob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Hello,
how do people deploy Django projects with subversion? We did a simple
checkout at a client's and when we need to do updates, we copy his
settings.py file somewhere outside the directory, do the svn update,
we copy the settings.py file back in and do a graceful restart of
Apache.
Does
This one is a bit more direct: http://code.djangoproject.com/wiki/SplitSettings
Bob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
10 matches
Mail list logo