thirdparty/google_appengine/lib/django/tests/regressiontests/templates/views.py
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 02 Apr 2009 23:06:15 +0000
changeset 2059 4037b147ed10
parent 109 620f9b141567
permissions -rwxr-xr-x
Make it possible to retrieve all properties in toDict We used to retrieve only the properties that are specified in the self.properties() dictionary, instead, we now iterate over the key_fields and only use self.properties() if those are not specified. Patch by: Sverre Rabbelier

# Fake views for testing url reverse lookup

def index(request):
    pass

def client(request, id):
    pass

def client_action(request, id, action):
    pass