Ticket #1844 (closed defect: fixed)
Add a wsgi_app decorator
Reported by: | mramm | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | TurboGears | Version: | trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
Add a wsgi_app decorator that allows you to drop a wsgi app directly into a TurboGears project, and modify the controller so that if the app is marked as a wsgi app, we just pass in the environ and start_response as expected.
This will eliminate the need for special routes stuff to mount a flex remote object in TG, which is the imediate impitus for this ticket, but it will also allow many more pieces to be put together.
Change History
Note: See
TracTickets for help on using
tickets.