Why not just modify your main app's root object:

__getitem__(self, key):
    if key == 'admin': return AdminRoot()

If you configure the views for both applications, potentially with a 
containment predicate, traversal will find your admin application and its 
entire URL space will be available under /admin. No WSGI separation 
required.

It wouldn't be too surprising if the Jinja2 bindings used a module-level 
global to keep track of the template search path. You should read the source 
code for that one; it's quite short.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to