Index: package_branches/invirt-web/cherrypy/code/main.py
===================================================================
--- package_branches/invirt-web/cherrypy/code/main.py	(revision 2402)
+++ package_branches/invirt-web/cherrypy/code/main.py	(revision 2403)
@@ -53,4 +53,7 @@
         connect()
         self._cp_config['tools.require_login.on'] = True
+        self._cp_config['tools.mako.imports'] = ['from invirt.config import structs as config',
+                                                 'from invirt import database']
+
 
     @cherrypy.expose
Index: package_branches/invirt-web/cherrypy/code/templates/list.mako
===================================================================
--- package_branches/invirt-web/cherrypy/code/templates/list.mako	(revision 2402)
+++ package_branches/invirt-web/cherrypy/code/templates/list.mako	(revision 2403)
@@ -1,5 +1,4 @@
 <%inherit file="skeleton.mako" />
 <%!
-	from invirt.config import structs as config
 	import datetime
 %>
