~ubuntu-branches/ubuntu/saucy/python-django/saucy-updates

« back to all changes in this revision

Viewing changes to tests/regressiontests/templates/urls.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20081115191533-84v2zyjbmp1074ni
Tags: upstream-1.0.1
Import upstream version 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# coding: utf-8
2
 
from django.conf.urls.defaults import *
3
 
from regressiontests.templates import views
4
 
 
5
 
urlpatterns = patterns('',
6
 
 
7
 
    # Test urls for testing reverse lookups
8
 
    (r'^$', views.index),
9
 
    (r'^client/(\d+)/$', views.client),
10
 
    (r'^client/(?P<id>\d+)/(?P<action>[^/]+)/$', views.client_action),
11
 
    url(r'^named-client/(\d+)/$', views.client, name="named.client"),
12
 
 
13
 
    # Unicode strings are permitted everywhere.
14
 
    url(ur'^Юникод/(\w+)/$', views.client, name=u"метка_оператора"),
15
 
    url(ur'^Юникод/(?P<tag>\S+)/$', 'regressiontests.templates.views.client2', name=u"метка_оператора_2"),
16
 
)