On Tue, Oct 25, 2011 at 1:28 PM, Thomas Guettler <h...@tbz-pariv.de> wrote: > Am 23.10.2011 21:59, schrieb feel: >> Hi, I wanted to propose a new possible feature in Django project that >> allows to sync the local folder with the remote one of the server >> defining all the configuration directly in settings.py. >> >> I've just done some months ago a simple implementation using rsync and >> I reported it in active state: >> http://code.activestate.com/recipes/577767-managment-command-to-deploy-a-django-project/?in=user-4174931 > > Hi, > > I won't use rsync. Code should not be altered on the server but sometimes you > (or someone else) does > it. Rsync would overwrite it. Up to now I use unison, but there are better > solutions. > > > I would like to see a common variable in django's settings: > STAGE=... > with one of this choices: DEV, INTEGRATION, QUAL, PROD >
I honestly think that trying to integrate any sort of deployment features in django will only please the few people who use that particular method of deploying code, and irritate the majority who do it in a different manner. There is no 'correct' way of doing this, and trying to find a correct way inside of django itself will only lead to constant bike-shed discussions. If you are interested in improving deployment, I suggest that initially this is done outside of django. Once it is clear that your solution is THE standard, then the discussion about bringing it inside of django can begin (qv South). FYI at $JOB would never countenance a deployment using rsync/unison/scp/whatever. Each deployment is a fresh, unmodified checkout from a specific tag/branch of an RCS, and we never update a checkout - a completely fresh deployment is rolled for each update. The correct settings for each backend are baked in from the RCS, and are specific to each backend. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.