Mercurial > hg > decoupage
view decoupage/factory.py @ 6:6a802c87f070
mv decoupage to the web module bc thats where it should live; increment version
author | k0s <k0scist@gmail.com> |
---|---|
date | Thu, 24 Dec 2009 22:37:38 -0500 |
parents | fa2005f769eb |
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)