feat: added seo template and prioduct.slug
This commit is contained in:
+1
-1
@@ -7,6 +7,6 @@ app_name = "shop"
|
||||
|
||||
urlpatterns = [
|
||||
path("", index, name="index"),
|
||||
path("products/<int:pk>/", product_detail, name="product_detail"),
|
||||
path("products/<int:pk>/<str:slug>/", product_detail, name="product_detail"),
|
||||
path("shop/components/products/", list_products, name="list_products"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user