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)