Rohit-NGO/products/urls.py
2020-05-21 09:55:19 +05:30

8 lines
237 B
Python

from django.urls import path
from . import views
urlpatterns=[
path('create',views.create, name='create'),
path('<int:product_id>/',views.detail, name='detail'),
path('<int:product_id>/upvote',views.upvote, name='upvote'),
]