Re: Is there anyway to put a Django site into maintenance mode using fabric?

2011-06-11 Thread Garth Humphreys
Thanks Eric for the idea of the server level redirect in the end this is what I did, http://garthhumphreys.com/2011/06/11/painless-django-maintenance-mode-with-fabric/ On Jun 10, 1:43 pm, Eric Chamberlain wrote: > We make the change at the web server and redirect all traffic to a static > page.

Re: Is there anyway to put a Django site into maintenance mode using fabric?

2011-06-10 Thread Eric Chamberlain
We make the change at the web server and redirect all traffic to a static page. If the site is down for maintenance, then the middleware won't work either. On Jun 10, 2011, at 9:24 AM, Garth Humphreys wrote: > I'm using the MaintenanceModeMiddleware to put my site into > maintenance mode, but I

Is there anyway to put a Django site into maintenance mode using fabric?

2011-06-10 Thread Garth Humphreys
I'm using the MaintenanceModeMiddleware to put my site into maintenance mode, but I was wondering if there is a way to put my site into maintenance via fabric. I would like to do something like; fab maintenance_on If this is not possible what are other common ways of remotely putting a Django sit