2
0

included_urls.py 288 B

123456789
  1. from django.conf.urls import url
  2. from .views import empty_view
  3. urlpatterns = [
  4. url(r'^$', empty_view, name="inner-nothing"),
  5. url(r'^extra/(?P<extra>\w+)/$', empty_view, name="inner-extra"),
  6. url(r'^(?P<one>[0-9]+)|(?P<two>[0-9]+)/$', empty_view, name="inner-disjunction"),
  7. ]