diff options
| author | Paul Everitt <paul@agendaless.com> | 2013-10-08 14:33:16 -0400 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2013-10-08 14:33:16 -0400 |
| commit | a2b15855bee4893524609a941954c823bfbcec0d (patch) | |
| tree | b158cd48f6c32854911592fb89e6800b243d2c28 /docs/quick_tutorial/debugtoolbar | |
| parent | 0f1d6c019e796b43ce0061d36d1c5521fbbce7ee (diff) | |
| download | pyramid-a2b15855bee4893524609a941954c823bfbcec0d.tar.gz pyramid-a2b15855bee4893524609a941954c823bfbcec0d.tar.bz2 pyramid-a2b15855bee4893524609a941954c823bfbcec0d.zip | |
Small quick tutorial fixes post conference.
Diffstat (limited to 'docs/quick_tutorial/debugtoolbar')
| -rw-r--r-- | docs/quick_tutorial/debugtoolbar/tutorial/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/quick_tutorial/debugtoolbar/tutorial/__init__.py b/docs/quick_tutorial/debugtoolbar/tutorial/__init__.py index 2b4e84f30..0993b25be 100644 --- a/docs/quick_tutorial/debugtoolbar/tutorial/__init__.py +++ b/docs/quick_tutorial/debugtoolbar/tutorial/__init__.py @@ -3,11 +3,11 @@ from pyramid.response import Response def hello_world(request): - return Response('<body><h1>Hello World!</h1></body>') + return xResponse('<body><h1>Hello World!</h1></body>') def main(global_config, **settings): config = Configurator(settings=settings) config.add_route('hello', '/') config.add_view(hello_world, route_name='hello') - return config.make_wsgi_app()
\ No newline at end of file + return config.make_wsgi_app() |
