I'm doing it from the start script but the controller file would work to.
On 5/24/06, Kevin Horn <[EMAIL PROTECTED]> wrote:
> Just curious...where would you call cherrypy.tree.mount? From the root
> controller?
>
> Kevin H.
>
>
> On 5/24/06, Elvelind Grandin < [EMAIL PROTECTED]> wrote:
> >
>
> On 5/24/06, Robin Haswell < [EMAIL PROTECTED]> wrote:
> >
> > Kevin Dangoor wrote:
> > > Hi Robin,
> > >
> > > This area is the focus of TurboGears 1.1. At the sprint back in
> > > February, I had TurboGears with PasteDeploy on the front and it was
> > > pretty cool. But, that's not usable yet, and we haven't really started
> > > working on 1.1.
> > >
> > > There are two big issues when it comes to multiple application
> > > mounting that you'll have to deal with on your own right now (unless
> > > you want to help out with 1.1, but you'll probably be able to move
> > > more quickly if you're just using your own interim solution).
> >
> > You're right, but I would like to help on 1.1 if I finished my paid
> > projects any time soon
> >
> > > The two
> > > issues are:
> > >
> > > 1) configuration
> > > 2) templating
> > >
> > > #1 is actually somewhat dealt with by cherrypy.tree.mount (what you
> > > were remembering). To use that, you just do
> > > cherrypy.tree.mount("/foo/bar", YourAppRoot())
> >
> > Is there any way to add a config file to this so I can use a different
> > sqlobject.dburi?
>
> cherrypy.tree.mount("/foo/bar", YourAppRoot(), conf=...)
> >
> > > #2 is that there is basically no way to override the "master" template
> > > for an app. Your only "standard TurboGears" route for customization is
> > > the sitetemplate, which may be enough for you.
> >
> > Actually as it stands the master templates are all but empty and I
> > utilise sitetemplate :-)
> >
> > > Kevin
> >
> > Cheers
> >
> > >
> >
>
>
> --
> cheers
> elvelind grandin
>
>
>
>
>
> >
>
--
cheers
elvelind grandin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---