This got buried in a previous thread but it is important. In trunk we
have and experimental feature:

request.wsgi.environ and request.wsgi.start_response

this means that you can now call ANY wsgi function from inside a
web2py action:

def index():
    some_wsgi_app(request.wsgi.environ,request.wsgi.start_response)
    request.wsgi.start_response(200)
    return response.body.getvalue()

Now you can run a Django app in one controller and a CherryPy app in
another + the wsgi apps can access web2py sessions, auth decorators,
etc.

It is perverse but can be useful. If you test it please let me know if
it works for you.

Massimo



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to