Hi Tino,

> Wouldn't it be easier to create a 'lock-file'? Have your middelware check
> for the lock file, if it's present, block access, if not, do nothing.

You are right, a lock file is easier, thanks for pointing me at that.

Anyway, I want to use the settings file instead of a lock file,
suppose I have too much hits during the lock time, there will be too
much access to hard disk, but with settings, these accesses will be on
the RAM...

Thanks again!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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