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

/tests/regressiontests/urlpatterns_reverse/named_urls.py

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