from django.urls import path
from app import views
from rest_framework.urlpatterns import format_suffix_patterns


urlpatterns = [
    path('products/', views.ProductList.as_view()),
    path('products/<int:pk>/', views.ProductDetail.as_view())
]

urlpatterns = format_suffix_patterns(urlpatterns)
