Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix url pattern for category's slug
Marcin Gębala2537cdf45650
diff --git a/saleor/product/urls.py b/saleor/product/urls.pyindex 914dbe2303..28b625c307 100644--- a/saleor/product/urls.py+++ b/saleor/product/urls.py@@ -1,4 +1,4 @@-from django.conf.urls import patterns, url+from django.conf.urls import urlfrom . import views@@ -6,6 +6,6 @@ from . import viewsurlpatterns = [url(r'^(?P<slug>[a-z0-9-]+?)-(?P<product_id>[0-9]+)/$',views.product_details, name='details'),- url(r'^category/(?P<slug>[a-z0-9-]+?)/$', views.category_index,+ url(r'^category/(?P<slug>[\w-]+?)/$', views.category_index,name='category')]