All pastes #825560 Raw Edit

no_mind

public python v1 · immutable
#825560 ·published 2007-12-20 17:42 UTC
rendered paste body
class CRMRoot:    """class functions"""class Test:    """class functions"""dis = cherrypy.dispatch.RoutesDispatcher()# Add a route to our controllerconfig0 = {'/Services':{       	  'request.dispatch': dis }}cherrypy.config.update(config0)dis.connect(name='Test', route="Services",controller=Test())cherrypy.quickstart(CRMRoot(), '/', config=conf)cherrypy.tree.mount(root=None, config=config0)