feat: added seo template and prioduct.slug

This commit is contained in:
2024-11-22 21:40:27 +01:00
parent 2d7119c6c1
commit b057b70a31
13 changed files with 644 additions and 33 deletions
+1 -1
View File
@@ -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"),
]