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/json/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/json/app.py')
| -rw-r--r-- | docs/quick_tour/json/app.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/quick_tour/json/app.py b/docs/quick_tour/json/app.py index 950cb478f..40faddd00 100644 --- a/docs/quick_tour/json/app.py +++ b/docs/quick_tour/json/app.py @@ -1,8 +1,6 @@ from wsgiref.simple_server import make_server - from pyramid.config import Configurator - if __name__ == '__main__': config = Configurator() config.add_route('hello', '/howdy/{name}') @@ -12,4 +10,4 @@ if __name__ == '__main__': 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() |
