Update urls.py

This commit is contained in:
Parsa Nazer
2025-05-21 18:45:06 +03:30
committed by GitHub
parent 707c78a1b1
commit 8f46468271
+1 -1
View File
@@ -6,6 +6,6 @@ urlpatterns = [
path('categories', AllCategories.as_view(), name='all-categories'),
path('slider_categories', ShowCaseCategoryListView.as_view(), name='all-categories'),
path('comments/<int:pk>', CommentView.as_view(), name='comment-views'),
path('<slug:slug>', ProductView.as_view(), name='product-detail'),
path('<slug:slug>/', ProductView.as_view(), name='product-detail'),
path('', AllProductsView.as_view(), name='category-products'),
]