There have been several questions about how to "mount" a wsgi
applicaiton inside a TG2 controller
Assuming you have a wsgi app called simple_wsgi_app you should just be
able to do this:
@expose()
def simple(self, **kwargs):
return simple_wsgi_app(pylons.request.environ, self.start_response)
That is you can just call the wsgi_application passing in the environ
from the request object and the start_response callable from the
controller. Right now this only works in the root controller, but
we'll work on making this this process even easier.
--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---