thirdparty/google_appengine/lib/django/tests/regressiontests/templates/views.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 10 Nov 2008 00:41:01 +0000
changeset 458 e836e8914c8e
parent 109 620f9b141567
permissions -rwxr-xr-x
Added support for providing a custom params dict This has been a long outstanding feature request for tlarsen, luckily it turned out to be very easy to implement with the dict.merge utility method. To have custom _rights one should instead to the required access checks before calling the view method.

# Fake views for testing url reverse lookup

def index(request):
    pass

def client(request, id):
    pass

def client_action(request, id, action):
    pass