Merged Unicode branch into trunk (r4952:5608). This should be fully
backwards compatible for all practical purposes.
Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 20:11:04 +08:00
|
|
|
|
# coding: utf-8
|
2007-02-13 12:24:58 +08:00
|
|
|
|
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),
|
2007-10-27 14:23:05 +08:00
|
|
|
|
(r'^client/(?P<id>\d+)/(?P<action>[^/]+)/$', views.client_action),
|
2007-06-25 12:34:34 +08:00
|
|
|
|
url(r'^named-client/(\d+)/$', views.client, name="named.client"),
|
2007-07-08 02:24:27 +08:00
|
|
|
|
|
|
|
|
|
# Unicode strings are permitted everywhere.
|
|
|
|
|
url(ur'^Юникод/(\w+)/$', views.client, name=u"метка_оператора"),
|
2008-09-01 01:29:49 +08:00
|
|
|
|
url(ur'^Юникод/(?P<tag>\S+)/$', 'regressiontests.templates.views.client2', name=u"метка_оператора_2"),
|
2007-02-13 12:24:58 +08:00
|
|
|
|
)
|