diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-01-22 00:29:38 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-01-22 00:29:38 -0800 |
| commit | 257ac062342d5b2cd18b47737cf9fb94aa528b8a (patch) | |
| tree | 3cf0878f41f7186d600044774365126dd47ea559 /docs/quick_tour/templating/app.py | |
| parent | cdeda1bf3329e8c6ba1e86e699e205024471ca93 (diff) | |
| download | pyramid-257ac062342d5b2cd18b47737cf9fb94aa528b8a.tar.gz pyramid-257ac062342d5b2cd18b47737cf9fb94aa528b8a.tar.bz2 pyramid-257ac062342d5b2cd18b47737cf9fb94aa528b8a.zip | |
Overhaul Quick Tour: start to "Quick project startup with scaffolds"
Diffstat (limited to 'docs/quick_tour/templating/app.py')
| -rw-r--r-- | docs/quick_tour/templating/app.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/quick_tour/templating/app.py b/docs/quick_tour/templating/app.py index 6d1a29f4e..52b7faf55 100644 --- a/docs/quick_tour/templating/app.py +++ b/docs/quick_tour/templating/app.py @@ -4,7 +4,8 @@ from pyramid.config import Configurator if __name__ == '__main__': config = Configurator() config.add_route('hello', '/howdy/{name}') + config.include('pyramid_chameleon') config.scan('views') app = config.make_wsgi_app() server = make_server('0.0.0.0', 6543, app) - server.serve_forever()
\ No newline at end of file + server.serve_forever() |
