<gh_stars>0
from django.urls import path
from .views import ProductDetailView, ProductListView
from nurtsrx.applications.products.views import (
    ProductDetailView,
    ProductListView
)
urlpatterns = [
    path("", ProductListView.as_view(), name='product-list'),
    path("products/<int:pk>", ProductDetailView.as_view(), name='product-detail'),

]

from django.urls import path
from .views import ProductDetailView, ProductListView
from nurtsrx.applications.products.views import (
    ProductDetailView,
    ProductListView
)
urlpatterns = [
    path("", ProductListView.as_view(), name='product-list'),
    path("products/<int:pk>", ProductDetailView.as_view(), name='product-detail'),

]