changeset 11483 | 7b7ed56bf2fb |
child 11492 | b0b8942cdb80 |
11482:151b8a4b9f3f | 11483:7b7ed56bf2fb |
---|---|
1 from pyramid.config import Configurator |
|
2 |
|
3 |
|
4 def main(global_config, **settings): |
|
5 """ This function returns a Pyramid WSGI application. |
|
6 """ |
|
7 config = Configurator(settings=settings) |
|
8 # config.add_static_view('static', 'static', cache_max_age=3600) |
|
9 # config.add_route('home', '/') |
|
10 # config.scan() |
|
11 return config.make_wsgi_app() |