PageRenderTime 162ms CodeModel.GetById 60ms app.highlight 2ms RepoModel.GetById 99ms app.codeStats 0ms

/tests/regressiontests/urlpatterns_reverse/included_named_urls.py

https://code.google.com/p/mango-py/
Python | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | daf72b73e80b5acf32e2516e4135ab4b MD5 | raw file
 1from django.conf.urls.defaults import *
 2from views import empty_view
 3
 4urlpatterns = patterns('',
 5    url(r'^$', empty_view, name="named-url3"),
 6    url(r'^extra/(?P<extra>\w+)/$', empty_view, name="named-url4"),
 7    url(r'^(?P<one>\d+)|(?P<two>\d+)/$', empty_view),
 8    (r'^included/', include('regressiontests.urlpatterns_reverse.included_named_urls2')),
 9)
10