import datetime, decimal
from StringIO import StringIO
from invirt.config import structs as config
+import invirt.database
from webcommon import State
invirtwebstate_init, priority=100)
+cherrypy.tools.clear_db_cache = cherrypy.Tool('on_start_resource', invirt.database.clear_cache)
+
+
class View(object):
_cp_config = {'tools.mako.directories':
[os.path.join(os.path.dirname(__file__),'templates')]}