2023-01-31 11:20:57 +00:00
|
|
|
from django.urls import path
|
|
|
|
from django.utils.regex_helper import normalize
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name = 'shop'
|
|
|
|
|
|
|
|
urlpatterns = [
|
2024-01-17 11:54:38 +00:00
|
|
|
path('', views.shop, name='shop'),
|
2023-01-31 11:20:57 +00:00
|
|
|
path('shop/', views.shop, name='shop'),
|
|
|
|
path('shop/<slug:category_slug>/', views.shop, name='categries'),
|
|
|
|
path('shop/<slug:category_slug>/<slug:product_details_slug>/', views.product_details, name='product_details'),
|
|
|
|
path('search/', views.search, name='search'),
|
|
|
|
path('review/<int:product_id>/', views.review, name='review'),
|
|
|
|
]
|