Mercurial > piecrust2
view piecrust/wsgiutil/__init__.py @ 672:783ff8bc4e03
cm: Add AppVeyor support.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 04 Mar 2016 22:37:07 -0800 |
parents | 81d9c3a3a0b5 |
children | b4156f5d4368 |
line wrap: on
line source
from piecrust.serving.server import WsgiServer def get_app(root_dir, cache_key='prod', enable_debug_info=False): app = WsgiServer(root_dir, cache_key=cache_key, enable_debug_info=enable_debug_info) return app