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 <[email protected]> wrote: > 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 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 site into maintenance mode? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

