[user management] disable http cache on user management view (not really a startup view) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 12 Sep 2011 12:00:31 +0200
branchstable
changeset 7777 2764987eb17a
parent 7775 72699a8e739d
child 7778 262ff5d8fddc
[user management] disable http cache on user management view (not really a startup view)
web/views/cwuser.py
--- a/web/views/cwuser.py	Thu Sep 08 18:04:50 2011 +0200
+++ b/web/views/cwuser.py	Mon Sep 12 12:00:31 2011 +0200
@@ -178,6 +178,7 @@
            'U primary_email UA?, UA address UAA, '
            'U cw_source UDS, US name UDSN')
     title = _('users and groups management')
+    cache_max_age = 0 # disable caching
 
     def call(self, **kwargs):
         self.w('<h1>%s</h1>' % self._cw._(self.title))