From 1a7b14de4bc89ef0fd162ef8e62d01926e42b54e Mon Sep 17 00:00:00 2001 From: Paul Everitt Date: Thu, 24 Jul 2008 17:14:16 +0000 Subject: Add tutorial sections --- docs/tutorials/lxmlgraph/step01/myapp/views.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/tutorials/lxmlgraph/step01/myapp/views.py (limited to 'docs/tutorials/lxmlgraph/step01/myapp/views.py') 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 -- cgit v1.2.3