__init__.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:pyramid-cookiecutter-starter-chameleon 作者: mikeckennedy 项目源码 文件源码
def main(global_config, **settings):
    """ This function returns a Pyramid WSGI application.
    """
    config = Configurator(settings=settings)
    config.include('pyramid_chameleon')
    config.add_static_view('static', 'static', cache_max_age=3600)
    config.add_route('home', '/')
    config.scan()
    return config.make_wsgi_app()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号