feat: added categories
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user