mirror of
https://github.com/django/django.git
synced 2024-12-25 10:35:48 +00:00
91556cf22e
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
16 lines
520 B
Python
16 lines
520 B
Python
# coding: utf-8
|
||
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/(?P<id>\d+)/(?P<action>[^/]+)/$', views.client_action),
|
||
url(r'^named-client/(\d+)/$', views.client, name="named.client"),
|
||
|
||
# Unicode strings are permitted everywhere.
|
||
url(ur'^Юникод/(\w+)/$', views.client, name=u"метка_оператора"),
|
||
)
|