from django.urls import path, re_path
from . import views

# namespace
app_name = 'blog'

urlpatterns = [
    re_path(r'^category/$',
            views.CategoryListView.as_view(), name='category_list'),
    re_path(r'^category/(?P<slug>[-\w]+)/$',
            views.CategoryDetailView.as_view(), name='category_detail'),

]
e3e433bf3b76d5bd0c5791d59ea02a1f4efc5a5d
<mask token>

<mask token>
app_name = 'blog'
urlpatterns = [re_path('^category/$', views.CategoryListView.as_view(),
    name='category_list'), re_path('^category/(?P<slug>[-\\w]+)/$', views.
    CategoryDetailView.as_view(), name='category_detail')]

from django.urls import path, re_path
from . import views
app_name = 'blog'
urlpatterns = [re_path('^category/$', views.CategoryListView.as_view(),
    name='category_list'), re_path('^category/(?P<slug>[-\\w]+)/$', views.
    CategoryDetailView.as_view(), name='category_detail')]

from django.urls import path, re_path
from . import views

# namespace
app_name = 'blog'

urlpatterns = [
    re_path(r'^category/$',
            views.CategoryListView.as_view(), name='category_list'),
    re_path(r'^category/(?P<slug>[-\w]+)/$',
            views.CategoryDetailView.as_view(), name='category_detail'),

]