1 from __future__
import absolute_import
3 from django
.conf
.urls
import patterns
, url
, include
5 from .views
import empty_view
8 urlpatterns
= patterns('',
9 url(r
'^$', empty_view
, name
="named-url1"),
10 url(r
'^extra/(?P<extra>\w+)/$', empty_view
, name
="named-url2"),
11 url(r
'^(?P<one>\d+)|(?P<two>\d+)/$', empty_view
),
12 (r
'^included/', include('regressiontests.urlpatterns_reverse.included_named_urls')),