Re: Deployment with Subversion

2007-03-20 Thread [EMAIL PROTECTED]
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.

Re: Deployment with Subversion

2007-03-15 Thread Jens Diemer
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:

Re: Deployment with Subversion

2007-03-15 Thread ScottB
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

Re: Deployment with Subversion

2007-03-14 Thread Kenneth Gonsalves
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

Re: Deployment with Subversion

2007-03-14 Thread Ned Batchelder
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

Re: Deployment with Subversion

2007-03-14 Thread Malcolm Tredinnick
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

Re: Deployment with Subversion

2007-03-14 Thread Bob T.
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

Re: Deployment with Subversion

2007-03-14 Thread Bob T.
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

Deployment with Subversion

2007-03-14 Thread [EMAIL PROTECTED]
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

Re: Deployment with Subversion

2007-03-14 Thread Bob T.
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