diff options
Diffstat (limited to 'docs/tutorials/lxmlgraph/step02/myapp/views.py')
| -rw-r--r-- | docs/tutorials/lxmlgraph/step02/myapp/views.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/tutorials/lxmlgraph/step02/myapp/views.py b/docs/tutorials/lxmlgraph/step02/myapp/views.py new file mode 100644 index 000000000..205b4b163 --- /dev/null +++ b/docs/tutorials/lxmlgraph/step02/myapp/views.py @@ -0,0 +1,8 @@ +from webob import Response + +def my_hello_view(context, request): + response = Response('Hello to %s from %s @ %s' % ( + context.tag, + context.__name__, + request.environ['PATH_INFO'])) + return response |
