Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1844 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

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

comment:1 Changed 6 years ago by mramm

  • Milestone changed from 2.0-preview-1 to 2.0-preview-2

comment:2 Changed 6 years ago by mramm

  • Milestone changed from 2.0-preview-2 to 2.0-preview-3

comment:3 Changed 6 years ago by mramm

  • Status changed from new to closed
  • Resolution set to fixed

Did this in a slightly different way by adding a use_wsgi_app function to TG2.

comment:4 Changed 6 years ago by anonymous

  • Milestone 1.9.7a4 deleted

Milestone 1.9.7a4 deleted

Note: See TracTickets for help on using tickets.