Pylons/pyramid — pull request #370 by mkerrin (2011-12-06 14:24:30+00:00)
Title: Support adding WSGI applications as views during configuration

Support passing callable object instances as WSGI applications to the
`pyramid.wsgi.wsgiapp` and `pyramid.wsgi.wsgiapp2` decorators.

This allows us to configure pyramid like so:

config.add_view(pyramid.wsgi.wsgiapp2(MyWSGIApp(settings)))