fix url
This commit is contained in:
@@ -6,6 +6,6 @@ urlpatterns = [
|
|||||||
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('comments/<int:pk>', CommentView.as_view(), name='comment-views'),
|
path('comments/<int:pk>', CommentView.as_view(), name='comment-views'),
|
||||||
re_path(r'^(?P<slug>[\u0600-\u06FF\s]+)/$', ProductView.as_view(), name='product-detail'),
|
re_path(r'^(?P<slug>[\w\u0600-\u06FF\-]+)/$', ProductView.as_view(), name='product-detail'),
|
||||||
path('', AllProductsView.as_view(), name='category-products'),
|
path('', AllProductsView.as_view(), name='category-products'),
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user