~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to tests/regressiontests/urlpatterns_reverse/extra_urls.py

  • Committer: Package Import Robot
  • Author(s): Luke Faraone
  • Date: 2013-11-07 15:33:49 UTC
  • mfrom: (1.3.12)
  • Revision ID: package-import@ubuntu.com-20131107153349-e31sc149l2szs3jb
Tags: 1.6-1
* New upstream version. Closes: #557474, #724637.
* python-django now also suggests the installation of ipython,
  bpython, python-django-doc, and libgdal1.
  Closes: #636511, #686333, #704203
* Set package maintainer to Debian Python Modules Team.
* Bump standards version to 3.9.5, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
"""
2
 
Some extra URL patterns that are included at the top level.
3
 
"""
4
 
 
5
 
from __future__ import absolute_import
6
 
 
7
 
from django.conf.urls import patterns, url, include
8
 
 
9
 
from .views import empty_view
10
 
 
11
 
 
12
 
urlpatterns = patterns('',
13
 
    url(r'^e-places/(\d+)/$', empty_view, name='extra-places'),
14
 
    url(r'^e-people/(?P<name>\w+)/$', empty_view, name="extra-people"),
15
 
    url('', include('regressiontests.urlpatterns_reverse.included_urls2')),
16
 
    url(r'^prefix/(?P<prefix>\w+)/', include('regressiontests.urlpatterns_reverse.included_urls2')),
17
 
)