thirdparty/google_appengine/lib/django/tests/regressiontests/templates/urls.py
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 04 Feb 2009 23:01:36 +0000
changeset 1213 365b4a2df40d
parent 109 620f9b141567
permissions -rwxr-xr-x
Make toDict "dereference" the 'name' property if it is present This makes it possible to turn 'name' into a consistent alias that can be used to represent an entity. Patch by: Sverre Rabbelier

from django.conf.urls.defaults import *
from regressiontests.templates import views

urlpatterns = patterns('',

    # Test urls for testing reverse lookups
    (r'^$', views.index),
    (r'^client/(\d+)/$', views.client),
    (r'^client/(\d+)/(?P<action>[^/]+)/$', views.client_action),
)