Mercurial > hg > decoupage
view decoupage/factory.py @ 0:fa2005f769eb
adding decoupage from http://my-svn.assembla.com/svn/arbez/decoupage r355
author | k0s <k0scist@gmail.com> |
---|---|
date | Mon, 07 Sep 2009 13:40:22 -0400 |
parents | |
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)