diff options
| author | Dylan Jay <software@pretaweb.com> | 2011-08-25 15:19:02 +1000 |
|---|---|---|
| committer | Dylan Jay <software@pretaweb.com> | 2011-08-25 15:19:02 +1000 |
| commit | f7fe1d3b9b98663febad51bd6c09b5a7f7ea3e1f (patch) | |
| tree | 1d0bb8a965c80ed119e959ffdf7e6f37741c5e59 /docs | |
| parent | c36e1570e997a90ac0666426b7c459adb5cd54bc (diff) | |
| download | pyramid-f7fe1d3b9b98663febad51bd6c09b5a7f7ea3e1f.tar.gz pyramid-f7fe1d3b9b98663febad51bd6c09b5a7f7ea3e1f.tar.bz2 pyramid-f7fe1d3b9b98663febad51bd6c09b5a7f7ea3e1f.zip | |
fix helloworld example
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/helloworld.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/helloworld.py b/docs/narr/helloworld.py index 23bb146df..ce0fcf955 100644 --- a/docs/narr/helloworld.py +++ b/docs/narr/helloworld.py @@ -7,6 +7,6 @@ def hello_world(request): if __name__ == '__main__': config = Configurator() config.add_route('hello', '/hello/{name}') - config.add_view(hello_world, route_name='hello') + config.add_view(hello_world, route_name='hello', renderer='string') app = config.make_wsgi_app() serve(app, host='0.0.0.0')
\ No newline at end of file |
