from django.conf.urls import url from .views import empty_view urlpatterns = [ url(r'^$', empty_view, name="inner-nothing"), url(r'^extra/(?P\w+)/$', empty_view, name="inner-extra"), url(r'^(?P\d+)|(?P\d+)/$', empty_view, name="inner-disjunction"), ]