Update urls.py

This commit is contained in:
Parsa Nazer
2025-05-21 17:44:26 +03:30
committed by GitHub
parent 6e04ed7f47
commit a88fd43a42
+1 -1
View File
@@ -6,6 +6,6 @@ urlpatterns = [
path('slider_category', ShowCaseProductsView.as_view(), name='category-products'), path('slider_category', ShowCaseProductsView.as_view(), name='category-products'),
path('categories', AllCategories.as_view(), name='all-categories'), path('categories', AllCategories.as_view(), name='all-categories'),
path('slider_categories', ShowCaseCategoryListView.as_view(), name='all-categories'), path('slider_categories', ShowCaseCategoryListView.as_view(), name='all-categories'),
path('<int:pk>', ProductView.as_view(), name='product-detail'), path('<int:slug>', ProductView.as_view(), name='product-detail'),
path('comments/<int:pk>', CommentView.as_view(), name='comment-views'), path('comments/<int:pk>', CommentView.as_view(), name='comment-views'),
] ]