django1/tests/regressiontests/urlpatterns_reverse/extra_urls.py

12 lines
304 B
Python

"""
Some extra URL patterns that are included at the top level.
"""
from django.conf.urls.defaults import *
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"),
)