yes you can mount the toolbox.
but in order to get catwalk working you need to do something like this
from yourpackage import model
from turbogears import toolbox
from turbogears.catwalk import CatWalk
class Root(controllers.Root):
toolbox = toolbox.Toolbox()
toolbox.catwalk = CatWalk(model)
On 12/7/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
>
> On 12/7/05, koorb <[EMAIL PROTECTED]> wrote:
> >
> > Is it possible to mount toolbox like you can with CatWalk, if you can,
> > how?
>
> The Toolbox is just an application root, so you *should* be able to.
> It's just turbogears.toolbox.Toolbox.
>
> >
> > The other thing is this:
> >
> > ----
> >
> > class Root(controllers.RootController):
> >
> > def __init__(self):
> > print "hello world"
> >
> > ----
> >
> > $ ./myapp-start.py
> > hello world
> > hello world
> > 2005/12/07 12:11:42 CONFIG INFO Server parameters:
>
> That's the reload mechanism at work. It's very brute force, but it does the
> job.
>
> Kevin
>
--
cheers
elvelind grandin