mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Removed urlpatterns_reverse dependency in urlpatterns tests.
This commit is contained in:
parent
c3bbf1fd4c
commit
9d334e0a7a
7
tests/urlpatterns/included_urls.py
Normal file
7
tests/urlpatterns/included_urls.py
Normal file
@ -0,0 +1,7 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('extra/<extra>/', views.empty_view, name='inner-extra'),
|
||||
]
|
@ -10,6 +10,6 @@ urlpatterns = [
|
||||
path('articles/<int:year>/<int:month>/<int:day>/', views.empty_view, name='articles-year-month-day'),
|
||||
path('users/', views.empty_view, name='users'),
|
||||
path('users/<id>/', views.empty_view, name='user-with-id'),
|
||||
path('included_urls/', include('urlpatterns_reverse.included_urls')),
|
||||
path('included_urls/', include('urlpatterns.included_urls')),
|
||||
path('<lang>/<path:url>/', views.empty_view, name='lang-and-path'),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user