Mercurial > hg > decoupage
view decoupage/factory.py @ 8:16d41af2d8ef
add ability to print templates
author | k0s <k0scist@gmail.com> |
---|---|
date | Thu, 24 Dec 2009 22:48:55 -0500 |
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)