Mercurial > hg > decoupage
view decoupage/factory.py @ 52:a2f09d749a3f
work towards refactor letting links (and maybe other things in the future) dwell in a decoupage namespace
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Tue, 16 Nov 2010 21:14:25 -0800 |
| parents | 6a802c87f070 |
| children | 9c570aed2246 |
line wrap: on
line source
from web import Decoupage from paste.httpexceptions import HTTPExceptionHandler def factory(global_conf, **app_conf): """create a webob view and wrap it in middleware""" app = Decoupage(**app_conf) return HTTPExceptionHandler(app)
