8 lines
194 B
Python
8 lines
194 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.product_list, name='product_list'),
|
|
path('<slug:slug>/', views.product_detail, name='product_detail'),
|
|
]
|