1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00
django/tests/urlpatterns_reverse/extra_urls.py
2015-02-06 08:16:28 -05:00

15 lines
445 B
Python

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