On Dec 13, 10:20 am, Shamail Tayyab <pleoma...@gmail.com> wrote:
> What could be the simplest way to do it without altering any of my
> current views or anything?

Write a view for /shutdown which sets some global flag eg. in the
database,
then write some middleware to do the rest:
http://docs.djangoproject.com/en/dev/topics/http/middleware/

-- 
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.

Reply via email to