#8928: Make a WSGI compatibility layer for Django middleware
------------------------------------+---------------------------------------
Reporter: simon | Owner: nobody
Status: new | Milestone: post-1.0
Component: Uncategorized | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by mramm):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
The idea here is that there should be easy access to a wsgi environ like
dictionary, to make calling wsgi applications from within django trivial.
I would even propose that making a call_wsgi_app function that grabs the
environ, creates a start_response callable, calls the wsgi app, and
returns the response properly.
This would let users write code like:
{{{
def someview(request, *args)
do_something(args)
return call_wsgi_app(wsgi_app, request)
}}}
This would allow people who use django with SQLAlchemy to user RUM (A
django admin like wsgi app) from a veiw, or to use some SOAP wsgi
application, or a TurboGears app, or whatever they want in a Django view.
--
Ticket URL: <http://code.djangoproject.com/ticket/8928#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---