Mercurial > hg > decoupage
view decoupage/factory.py @ 5:076b008ae580
merging
author | k0s <k0scist@gmail.com> |
---|---|
date | Thu, 24 Dec 2009 19:48:34 -0500 |
parents | fa2005f769eb |
children | 6a802c87f070 |
line wrap: on
line source
from decoupage 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)