2006/1/24, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> but that by itself doesn't work. i saw reference to doing some
> cherrypy stuff to tell it that when i ask for Subdirectory to hook it
> together (cherrypy.root.Subdirectory = Subdirectory() ), that makes
> sense, but it doesn't work, either.
It would be helpful if you post some traceback.
You *do* have Root class in your controllers.py, that is imported by
the startup script, right?
class Subdirectory:
@turbogears.expose('project.templates.Subdirectory.index')
def index(self)
return dict()
class Root:
@turbogears.expose('project.templates.index')
def index(self):
return dict()
Subdirectory = Subdirectory()
--
Ksenia