summaryrefslogtreecommitdiff
path: root/docs/tutorials/lxmlgraph/step02/myapp/views.py
blob: 205b4b1639cacf5da7327aa5530b085e3b6505f5 (plain)
1
2
3
4
5
6
7
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