diff options
| author | Chris McDonough <chrism@plope.com> | 2013-10-17 15:21:56 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-10-17 15:21:56 -0400 |
| commit | 4065081434a455a61377c770705375e085be8f16 (patch) | |
| tree | 613b7a619d3e8846765ab51ee7d35ba518919690 /docs/quick_tutorial/debugtoolbar/tutorial | |
| parent | 61d1f729f4d9cc17a5fbcff0612512bc9f5fe7a2 (diff) | |
| parent | 3acee31f86bcde8abbb4e63715afc5ca67976eaf (diff) | |
| download | pyramid-4065081434a455a61377c770705375e085be8f16.tar.gz pyramid-4065081434a455a61377c770705375e085be8f16.tar.bz2 pyramid-4065081434a455a61377c770705375e085be8f16.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
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() |
