from django.urls import path from .views import ( ContentCategoryList, CreateCategory, DeleteCategory, EditCategory, CreateContent, DeleteContent, EditContent, ) 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', ), path( 'new', CreateContent.as_view(), name='content-new', ), path( '/delete', DeleteContent.as_view(), name="content-delete", ), path( '/edit', EditContent.as_view(), name="content-edit", ), ]