You can solve this with the server more easily than with the django app itself. I use the Cherokee webserver, and switching to maintenance mode is easy with it. Also, no need to cold-restart (your clients don't get a connection interruption).
See how it works here: http://www.cherokee-project.com/doc/cookbook_maintenance.html On Mar 13, 11:34 am, "Henrik Genssen" <henrik.gens...@miadi.net> wrote: > Yes, thanks, > > but does not work without a restart... > > > > >reply to message: > >date: 13.03.2010 06:57:06 > >from: esatterwh...@wi.rr.com > >to: "Django users" <django-users@googlegroups.com> > >subject: Re: site management - maintanance mode > > >http://code.google.com/p/django-maintenancemode/ > > >On Mar 13, 6:21 am, "Henrik Genssen" <henrik.gens...@miadi.net> wrote: > >> Hi, > > >> I have a site that runs on more many hosts. > >> now hast someone an idea, how to put the whole site (on all hosts) in > >> "maintanance mode" (keep normal users outside with a nice hint) - > >> without reloading all webservers and not changing the load-balancer / > >> proxy config - meaning: is there a django/python way for it? > > >> regards > > >> Hinnack > > >-- > >You received this message because you are subscribed to the Google Groups > >"Django users" group. > >To post to this group, send email to django-us...@googlegroups.com. > >To unsubscribe from this group, send email to > >django-users+unsubscr...@googlegroups.com. > >For more options, visit this group > >athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.