PageRenderTime 42ms CodeModel.GetById 38ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/regressiontests/urlpatterns_reverse/extra_urls.py

https://code.google.com/p/mango-py/
Python | 13 lines | 8 code | 2 blank | 3 comment | 0 complexity | 105f28735e583b837a92d65e93f88185 MD5 | raw file
 1"""
 2Some extra URL patterns that are included at the top level.
 3"""
 4
 5from django.conf.urls.defaults import *
 6from views import empty_view
 7
 8urlpatterns = patterns('',
 9    url(r'^e-places/(\d+)/$', empty_view, name='extra-places'),
10    url(r'^e-people/(?P<name>\w+)/$', empty_view, name="extra-people"),
11    url('', include('regressiontests.urlpatterns_reverse.included_urls2')),
12    url(r'^prefix/(?P<prefix>\w+)/', include('regressiontests.urlpatterns_reverse.included_urls2')),
13)