Coverage for website/thabloid/api/v2/urls.py: 100.00%
4 statements
« prev ^ index » next coverage.py v7.6.7, created at 2025-08-14 10:31 +0000
« prev ^ index » next coverage.py v7.6.7, created at 2025-08-14 10:31 +0000
1from django.urls import include, path
3from thabloid.api.v2.views import ThabloidDetailView, ThabloidListView
5app_name = "thabloid"
7urlpatterns = [
8 path(
9 "thabloid/",
10 include(
11 [
12 path("thabloids/", ThabloidListView.as_view(), name="thabloid-list"),
13 path(
14 "thabloids/<int:pk>",
15 ThabloidDetailView.as_view(),
16 name="thabloid-detail",
17 ),
18 ]
19 ),
20 ),
21]