Below, you've created the 'pgsql' tool but you haven't "turned it on"
for any URL's. Try changing the _cp_config to:
_cp_config = {'tools.sessions.on': True,
'tools.pgsql.on': True}
You can also turn on your tool in a config file, or with a decorator, as
described at http://www.cherrypy.org/wiki/BuiltinTools#Usingtools
Robert Brewer
fuma...@aminus.org