示例#1
0
 def flushCache(self):
     flushcache()
     message = 'Cache flushed'
     tmpl = PageTemplate(file="interface/templates/home.tmpl")
     tmpl.message = message
     tmpl.displaymessage = "Yes"
     tmpl.modalheader = "Information"
     return str(tmpl)
 def flushCache(self):
     flushcache()
     message = 'Cache flushed'
     tmpl = PageTemplate(file="interface/templates/home.tmpl")
     tmpl.message = message
     tmpl.displaymessage = "Yes"
     tmpl.modalheader = "Information"
     return str(tmpl)