PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/regressiontests/urlpatterns_reverse/included_urls.py

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