diff options
| author | Steve Piercy <web@stevepiercy.com> | 2013-10-08 16:51:24 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2013-10-08 16:51:24 -0700 |
| commit | 7f7d86e1e767f0339266d00c3a4723477add28b5 (patch) | |
| tree | d474b33ec2320f5849d35d54e5e96c2b00daeced /docs/quick_tutorial/debugtoolbar/tutorial | |
| parent | 6b2e8ee2a63f601a1708c0e74e6ea5b3551507f1 (diff) | |
| parent | d7f8766ef2154c64b9fc040e5bf0a8249e5c366f (diff) | |
| download | pyramid-7f7d86e1e767f0339266d00c3a4723477add28b5.tar.gz pyramid-7f7d86e1e767f0339266d00c3a4723477add28b5.tar.bz2 pyramid-7f7d86e1e767f0339266d00c3a4723477add28b5.zip | |
Merge branch 'origin/master'
Diffstat (limited to 'docs/quick_tutorial/debugtoolbar/tutorial')
| -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() |
