from django.urls import path from expenses.views import ( category_list, category_detail, CategoryCreateView, CategoryUpdateView, CategoryDeleteView, expenses_list, lone_expense_create, multiple_expense_create, expense_detail, expense_create, ) app_name = "expenses" urlpatterns = [ path("categories", category_list, name="categories_list"), path("categories/create", CategoryCreateView.as_view(), name="category_create"), path("categories/detail/", category_detail, name="category_detail"), path( "categories/edit/", CategoryUpdateView.as_view(), name="category_edit" ), path( "categories/delete/", CategoryDeleteView.as_view(), name="category_delete", ), # path("category/", CategoryView.as_view(), name="category"), path("expenses", expenses_list, name="expense_list"), path("expenses/lone/create", lone_expense_create, name="lone_expense_create"), path( "expenses/multiple/create", multiple_expense_create, name="multiple_expense_create", ), path("expenses/create", expense_create, name="expense_create"), path("expenses/detail/", expense_detail, name="expense_detail"), ]