summaryrefslogtreecommitdiff
path: root/tests/admin_docs/namespace_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_docs/namespace_urls.py')
-rw-r--r--tests/admin_docs/namespace_urls.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/admin_docs/namespace_urls.py b/tests/admin_docs/namespace_urls.py
index 719bf0ddf5..b8eb0351f2 100644
--- a/tests/admin_docs/namespace_urls.py
+++ b/tests/admin_docs/namespace_urls.py
@@ -3,12 +3,15 @@ from django.urls import include, path
from . import views
-backend_urls = ([
- path('something/', views.XViewClass.as_view(), name='something'),
-], 'backend')
+backend_urls = (
+ [
+ path("something/", views.XViewClass.as_view(), name="something"),
+ ],
+ "backend",
+)
urlpatterns = [
- path('admin/doc/', include('django.contrib.admindocs.urls')),
- path('admin/', admin.site.urls),
- path('api/backend/', include(backend_urls, namespace='backend')),
+ path("admin/doc/", include("django.contrib.admindocs.urls")),
+ path("admin/", admin.site.urls),
+ path("api/backend/", include(backend_urls, namespace="backend")),
]