Removed urlpatterns_reverse dependency in urlpatterns tests.

This commit is contained in:
Xavier Fernandez 2018-11-30 16:25:52 +01:00 committed by Tim Graham
parent c3bbf1fd4c
commit 9d334e0a7a
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
from django.urls import path
from . import views
urlpatterns = [
path('extra/<extra>/', views.empty_view, name='inner-extra'),
]

View File

@ -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'),
]