0
0
mirror of https://github.com/django/django.git synced 2024-11-28 10:48:32 +01:00
django/tests/urlpatterns_reverse/extra_urls.py
2013-02-26 14:36:57 +01:00

18 lines
536 B
Python

"""
Some extra URL patterns that are included at the top level.
"""
from __future__ import absolute_import
from django.conf.urls import patterns, url, include
from .views import empty_view
urlpatterns = patterns('',
url(r'^e-places/(\d+)/$', empty_view, name='extra-places'),
url(r'^e-people/(?P<name>\w+)/$', empty_view, name="extra-people"),
url('', include('regressiontests.urlpatterns_reverse.included_urls2')),
url(r'^prefix/(?P<prefix>\w+)/', include('regressiontests.urlpatterns_reverse.included_urls2')),
)