summaryrefslogtreecommitdiff
path: root/docs/quick_tour/routing/views.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-01-22 00:29:38 -0800
committerSteve Piercy <web@stevepiercy.com>2016-01-22 00:29:38 -0800
commit257ac062342d5b2cd18b47737cf9fb94aa528b8a (patch)
tree3cf0878f41f7186d600044774365126dd47ea559 /docs/quick_tour/routing/views.py
parentcdeda1bf3329e8c6ba1e86e699e205024471ca93 (diff)
downloadpyramid-257ac062342d5b2cd18b47737cf9fb94aa528b8a.tar.gz
pyramid-257ac062342d5b2cd18b47737cf9fb94aa528b8a.tar.bz2
pyramid-257ac062342d5b2cd18b47737cf9fb94aa528b8a.zip
Overhaul Quick Tour: start to "Quick project startup with scaffolds"
Diffstat (limited to 'docs/quick_tour/routing/views.py')
-rw-r--r--docs/quick_tour/routing/views.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/quick_tour/routing/views.py b/docs/quick_tour/routing/views.py
index 8cb8d3780..8a3bd230e 100644
--- a/docs/quick_tour/routing/views.py
+++ b/docs/quick_tour/routing/views.py
@@ -2,9 +2,7 @@ from pyramid.response import Response
from pyramid.view import view_config
-# Start Route 1
@view_config(route_name='hello')
def hello_world(request):
body = '<h1>Hi %(first)s %(last)s!</h1>' % request.matchdict
return Response(body)
- # End Route 1 \ No newline at end of file