thirdparty/google_appengine/lib/django/tests/regressiontests/templates/urls.py
author Sverre Rabbelier <srabbelier@gmail.com>
Tue, 02 Dec 2008 22:04:38 +0000
changeset 653 5105939d3bb4
parent 109 620f9b141567
permissions -rwxr-xr-x
Make the 'select entity' View generic This allows the selection of any entity from an arbitrary View by specifying the 'target view' and the redirect function. 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),
)