imports=[]):
cherrypy.request.lookup = lookup = self.get_lookup(directories, module_directory,
collection_size, imports)
-
- # Replace the current handler.
cherrypy.request.template = t = lookup.get_template(filename)
cherrypy.request.handler = MakoHandler(t, cherrypy.request.handler, content_type)