PageRenderTime 10039ms CodeModel.GetById 10035ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/regressiontests/urlpatterns_reverse/included_named_urls2.py

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