from django.urls import include, path
from ..views import (
    ListBaseCategory,
    ListCategory,
    ListDescendantCategoryThread,
    SearchCategory,
)

app_name = 'categories'

urlpatterns = [
    path('', ListBaseCategory.as_view(), name='list_category'),
    path('search/', SearchCategory.as_view(), name='search_category'),
]

urlpatterns += [
    path('<int:pk>/<slug:slug>/', include([
        path('', ListCategory.as_view(), name='list_subcategory'),
        path('threads/', ListDescendantCategoryThread.as_view(), name='list_thread'),
    ]))
]

3432886cbf17c259bd263c49f4bb0b9416240ca4
<mask token>

<mask token>
urlpatterns += [path('<int:pk>/<slug:slug>/', include([path('',
    ListCategory.as_view(), name='list_subcategory'), path('threads/',
    ListDescendantCategoryThread.as_view(), name='list_thread')]))]

<mask token>
app_name = 'categories'
urlpatterns = [path('', ListBaseCategory.as_view(), name='list_category'),
    path('search/', SearchCategory.as_view(), name='search_category')]
urlpatterns += [path('<int:pk>/<slug:slug>/', include([path('',
    ListCategory.as_view(), name='list_subcategory'), path('threads/',
    ListDescendantCategoryThread.as_view(), name='list_thread')]))]

from django.urls import include, path
from ..views import ListBaseCategory, ListCategory, ListDescendantCategoryThread, SearchCategory
app_name = 'categories'
urlpatterns = [path('', ListBaseCategory.as_view(), name='list_category'),
    path('search/', SearchCategory.as_view(), name='search_category')]
urlpatterns += [path('<int:pk>/<slug:slug>/', include([path('',
    ListCategory.as_view(), name='list_subcategory'), path('threads/',
    ListDescendantCategoryThread.as_view(), name='list_thread')]))]

from django.urls import include, path
from ..views import (
    ListBaseCategory,
    ListCategory,
    ListDescendantCategoryThread,
    SearchCategory,
)

app_name = 'categories'

urlpatterns = [
    path('', ListBaseCategory.as_view(), name='list_category'),
    path('search/', SearchCategory.as_view(), name='search_category'),
]

urlpatterns += [
    path('<int:pk>/<slug:slug>/', include([
        path('', ListCategory.as_view(), name='list_subcategory'),
        path('threads/', ListDescendantCategoryThread.as_view(), name='list_thread'),
    ]))
]
