thirdparty/google_appengine/lib/django/tests/regressiontests/templates/urls.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 07 Dec 2008 17:01:44 +0000
changeset 704 8647e6b441fc
parent 109 620f9b141567
permissions -rwxr-xr-x
Factor out sidebar entry construction This makes it possible to reuse this logic in other modules as well, preventing code duplication. While at it, move additional_sidebar merging before the other entries (additional entries should go first, since the other entries are mostly dev-only etc). 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),
)