diff --git a/tests/urlpatterns/included_urls.py b/tests/urlpatterns/included_urls.py new file mode 100644 index 0000000000..d45e2764c5 --- /dev/null +++ b/tests/urlpatterns/included_urls.py @@ -0,0 +1,7 @@ +from django.urls import path + +from . import views + +urlpatterns = [ + path('extra//', views.empty_view, name='inner-extra'), +] diff --git a/tests/urlpatterns/path_urls.py b/tests/urlpatterns/path_urls.py index 097f3cb166..857ec0cd0b 100644 --- a/tests/urlpatterns/path_urls.py +++ b/tests/urlpatterns/path_urls.py @@ -10,6 +10,6 @@ urlpatterns = [ path('articles////', views.empty_view, name='articles-year-month-day'), path('users/', views.empty_view, name='users'), path('users//', views.empty_view, name='user-with-id'), - path('included_urls/', include('urlpatterns_reverse.included_urls')), + path('included_urls/', include('urlpatterns.included_urls')), path('//', views.empty_view, name='lang-and-path'), ]