On 4/14/06, Keith R. Fieldhouse <[EMAIL PROTECTED]> wrote:
>
> Kevin Dangoor wrote:
> > In the meantime, I have these suggestions:
> >
> > 1) use CherryPy 2.2's tree.mount() feature.
> The tree.mount() stuff does seem like just the ticket.  What's not clear
> to me is how to handle the differing configs.  The
> turbogears.update_config stuff deals with the global cherrypy config
> object.  If, for example, I want to use a different database for each
> app is there an approach that would work?

mount() can take a config:

mount(self, app_root, baseurl=None, conf=None) method of cherrypy._cptree.Tree i
nstance
    Mount the given app_root at the given baseurl (relative to root).

Kevin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to