On 11/9/05, Elvelind Grandin <[EMAIL PROTECTED]> wrote:

Sure. you can have multiple controllers in tg too. subclass them from controllers.Root and you can use the turbogears.url function to
abstract the paths a little. ie

cherrypy.root.foo.bar = Myappthatinherentscontroollers.Root()

and in your app. url("/baz") will point to /foo/bar/baz.

Hm, I couldn't find that function in the TG API docs, but it does apparently have doc strings since "help( turbogears.url)" got me what I needed. Is there a bug in the doc generator, or does it just need to be updated?

Kevin?

/me wanders off looking for other undocumented goodies


--
"Things fall apart. The Center cannot hold."
                  - Life as a QA geek, in a nutshell.

Best,

    Jeff

Reply via email to