Ticket #2606: urls.py

File urls.py, 290 bytes (added by Ivan Sagalaev <Maniac@…>, 9 years ago)

tests/regressiontests/templates/urls.py

Line 
1from django.conf.urls.defaults import *
2from regressiontests.templates import views
3
4urlpatterns = patterns('',
5
6    # Test urls for testing reverse lookups
7    (r'^$', views.index),
8    (r'^client/(\d+)/$', views.client),
9    (r'^client/(\d+)/(?P<action>[^/]+)/$', views.client_action),
10)
Back to Top