from django.urls import path from .views import ( ContentCategoryList, CreateCategory, DeleteCategory, EditCategory, ) app_name = 'content' urlpatterns = [ path( 'category//', ContentCategoryList.as_view(), name='category-list' ), path( 'category/delete/', DeleteCategory.as_view(), name='category-delete' ), path( 'category/new/', CreateCategory.as_view(), name='category-new' ), path( 'category/edit/', EditCategory.as_view(), name='category-edit', ) ]