2018-12-08 06:52:28 +08:00
|
|
|
from django.urls import include, path, re_path
|
2011-10-14 05:34:56 +08:00
|
|
|
|
|
|
|
from .views import empty_view
|
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = [
|
2018-12-08 06:52:28 +08:00
|
|
|
path('', empty_view, name='named-url1'),
|
|
|
|
re_path(r'^extra/(?P<extra>\w+)/$', empty_view, name='named-url2'),
|
|
|
|
re_path(r'^(?P<one>[0-9]+)|(?P<two>[0-9]+)/$', empty_view),
|
|
|
|
path('included/', include('urlpatterns_reverse.included_named_urls')),
|
2014-04-02 08:46:34 +08:00
|
|
|
]
|