diff options
| author | Chris McDonough <chrism@plope.com> | 2013-10-14 11:23:24 +0200 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-10-14 11:23:24 +0200 |
| commit | a87c1972615f98e99b06f9ea335a12104f67e6e0 (patch) | |
| tree | 4b9f81e2ccf3a3590e539808b72ca443778b3359 /docs/quick_tutorial/debugtoolbar | |
| parent | 4223668ee4c0d0ac0e981f3241d56ffa805ba6d1 (diff) | |
| parent | 55917fe91b4344008da352e262dc2135629405d6 (diff) | |
| download | pyramid-a87c1972615f98e99b06f9ea335a12104f67e6e0.tar.gz pyramid-a87c1972615f98e99b06f9ea335a12104f67e6e0.tar.bz2 pyramid-a87c1972615f98e99b06f9ea335a12104f67e6e0.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
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() |
