changeset 11483 | 7b7ed56bf2fb |
child 11492 | b0b8942cdb80 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sampleapp/sampleapp/__init__.py Sun Jul 06 18:25:31 2014 +0200 @@ -0,0 +1,11 @@ +from pyramid.config import Configurator + + +def main(global_config, **settings): + """ This function returns a Pyramid WSGI application. + """ + config = Configurator(settings=settings) +# config.add_static_view('static', 'static', cache_max_age=3600) +# config.add_route('home', '/') +# config.scan() + return config.make_wsgi_app()