diff options
| author | Tres Seaver <tseaver@palladion.com> | 2014-02-16 22:28:03 -0500 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2014-02-16 22:28:03 -0500 |
| commit | f77c69c68665e81ffc89f4aa13f6e9af13df6cb0 (patch) | |
| tree | 0786cbf6d51c2d8e9523735a0515846ab0fb0e5b /docs/quick_tutorial/debugtoolbar | |
| parent | fa20e0a093de3961c0f50aff906afd5b6790e673 (diff) | |
| download | pyramid-f77c69c68665e81ffc89f4aa13f6e9af13df6cb0.tar.gz pyramid-f77c69c68665e81ffc89f4aa13f6e9af13df6cb0.tar.bz2 pyramid-f77c69c68665e81ffc89f4aa13f6e9af13df6cb0.zip | |
Don't leave the page broken.
Diffstat (limited to 'docs/quick_tutorial/debugtoolbar')
| -rw-r--r-- | docs/quick_tutorial/debugtoolbar/tutorial/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/quick_tutorial/debugtoolbar/tutorial/__init__.py b/docs/quick_tutorial/debugtoolbar/tutorial/__init__.py index 0993b25be..d784292ee 100644 --- a/docs/quick_tutorial/debugtoolbar/tutorial/__init__.py +++ b/docs/quick_tutorial/debugtoolbar/tutorial/__init__.py @@ -3,7 +3,7 @@ from pyramid.response import Response def hello_world(request): - return xResponse('<body><h1>Hello World!</h1></body>') + return Response('<body><h1>Hello World!</h1></body>') def main(global_config, **settings): |
