from django.urls import path
from . import views

urlpatterns = [
    path('', views.products, name="products"),
    path('<int:product_id>/', views.product, name="product"),
    path('add/', views.add_product, name="add_product"),
    path('edit/<int:product_id>/', views.update_product,
         name="update_product"),
    path('delete/<int:product_id>/', views.delete_product,
         name="delete_product"),
]
