Nebojsa Djordjevic wrote:
> jrs wrote:
>> Then I just exclude settings_env.py from the rsync command that posts
>> the site.  I also have my database, base_url, cache and any other
>> environment specific configuration there.  Works like a charm.
> 
> I would recommend using subversion or another version control system for 
> this, it better handles local changes to the
> files. I use my (private) subversion repository for all of my sites so all 
> changes (except local ones, path and stuff)
> are done with simple 'svn update'.
> 

maybe you might consider how capistrano (was switchtower) does this:

a new svn checkout every release-time, and they have a symlink that 
always points to the version they want to use. so when they want to go 
back to an older version, they just change the symlink.

(of course you can do the same with a svn-up, but the symlink way 
somehow feels a little cleaner to me)

gabor

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to