thirdparty/google_appengine/lib/django/tests/regressiontests/templates/urls.py
author Todd Larsen <tlarsen@google.com>
Sat, 22 Nov 2008 03:13:59 +0000
changeset 542 7cc99461b64d
parent 109 620f9b141567
permissions -rwxr-xr-x
Remove redundant dicts for URL patterns and sidebar menu text, and use the existing params dict instead. Add a sidebar_heading customization to params. Better differentiate the 'User (self)' and 'Users' sidebar menus. Remove the redundant Site settings menu items now that the Site entity is a singleton. Patch by: Todd Larsen

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),
)