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 14:11:04 +02:00
|
|
|
|
# coding: utf-8
|
2013-07-29 19:19:04 +02:00
|
|
|
|
from __future__ import unicode_literals
|
2011-10-13 23:34:56 +02:00
|
|
|
|
|
2014-04-02 02:46:34 +02:00
|
|
|
|
from django.conf.urls import url
|
2011-10-13 23:34:56 +02:00
|
|
|
|
from . import views
|
|
|
|
|
|
2007-02-13 05:24:58 +01:00
|
|
|
|
|
2014-04-02 02:46:34 +02:00
|
|
|
|
urlpatterns = [
|
2007-02-13 05:24:58 +01:00
|
|
|
|
# Test urls for testing reverse lookups
|
2014-04-02 02:46:34 +02:00
|
|
|
|
url(r'^$', views.index),
|
|
|
|
|
url(r'^client/([\d,]+)/$', views.client),
|
|
|
|
|
url(r'^client/(?P<id>\d+)/(?P<action>[^/]+)/$', views.client_action),
|
|
|
|
|
url(r'^client/(?P<client_id>\d+)/(?P<action>[^/]+)/$', views.client_action),
|
2008-10-05 06:59:55 +02:00
|
|
|
|
url(r'^named-client/(\d+)/$', views.client2, name="named.client"),
|
2007-07-07 20:24:27 +02:00
|
|
|
|
|
|
|
|
|
# Unicode strings are permitted everywhere.
|
2012-06-07 18:08:47 +02:00
|
|
|
|
url(r'^Юникод/(\w+)/$', views.client2, name="метка_оператора"),
|
2013-02-26 13:19:18 +01:00
|
|
|
|
url(r'^Юникод/(?P<tag>\S+)/$', 'template_tests.views.client2', name="метка_оператора_2"),
|
2014-04-02 02:46:34 +02:00
|
|
|
|
]
|