summaryrefslogtreecommitdiff
path: root/docs/tutorials/lxmlgraph/step01/myapp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/lxmlgraph/step01/myapp/views.py')
-rw-r--r--docs/tutorials/lxmlgraph/step01/myapp/views.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/tutorials/lxmlgraph/step01/myapp/views.py b/docs/tutorials/lxmlgraph/step01/myapp/views.py
new file mode 100644
index 000000000..13de3ae31
--- /dev/null
+++ b/docs/tutorials/lxmlgraph/step01/myapp/views.py
@@ -0,0 +1,7 @@
+from webob import Response
+
+def my_hello_view(context, request):
+ response = Response('Hello from %s @ %s' % (
+ context.__name__,
+ request.environ['PATH_INFO']))
+ return response