feat: added categories

This commit is contained in:
2024-12-31 11:19:28 +01:00
parent eae54d5198
commit 3de6bbcc29
16 changed files with 166 additions and 36 deletions
+2
View File
@@ -9,12 +9,14 @@ from web.views.web import (
index,
manifest,
product_detail,
category_view,
)
app_name = "web"
urlpatterns = [
path("", index, name="index"),
path("categories/<str:slug>/", category_view, name="category_view"),
path("products/<int:pk>/<str:slug>/", product_detail, name="product_detail"),
path("cart/", cart_detail, name="cart_detail"),
# users