From ffce23faaff59c7f4f79b86a32b5045be22178b0 Mon Sep 17 00:00:00 2001 From: Parsa Nazer Date: Thu, 22 May 2025 14:17:32 +0330 Subject: [PATCH] add slash again --- backend/product/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/product/urls.py b/backend/product/urls.py index 95b4c21..8fb0ad2 100644 --- a/backend/product/urls.py +++ b/backend/product/urls.py @@ -5,7 +5,7 @@ urlpatterns = [ path('slider_category', ShowCaseProductsView.as_view(), name='category-products'), path('categories', AllCategories.as_view(), name='all-categories'), path('slider_categories', ShowCaseCategoryListView.as_view(), name='all-categories'), - re_path(r'^comments/(?P[\w\u0600-\u06FF\-]+)$', CommentView.as_view(), name='comment-views'), - re_path(r'^(?P[\w\u0600-\u06FF\-]+)$', ProductView.as_view(), name='product-detail'), + re_path(r'^comments/(?P[\w\u0600-\u06FF\-]+)/$', CommentView.as_view(), name='comment-views'), + re_path(r'^(?P[\w\u0600-\u06FF\-]+)/$', ProductView.as_view(), name='product-detail'), path('', AllProductsView.as_view(), name='category-products'), ] \ No newline at end of file