from django.urls import path
from product import views

app_name = 'product'
urlpatterns = [
    #default url
    path('', views.Homeview.as_view(), name='home'),
    path('login/', views.login1, name='login'),
    path('signup/', views.SignUpView.as_view(), name='signup'),
    path('update/<pk>', views.ProductUpdate.as_view(), name ='updateproduct'),
    path('addproduct/add', views.Addproduct.as_view(), name ='product-add'),
    path('<int:product_id>/', views.Comment1, name='comment'),
    path('logout/',views.logout1, name = 'logout'),
    path('comments/', views.getcomment, name = "comment"),
    path('rate/', views.getrate, name = "rate"),
    path('<int:product_id>', views.sendtofriend, name="send"),
    path('/', views.send_to_Home, name = '/'),
    path('updateprofile/<pk>', views.ProfileUpdate.as_view(), name = 'updateprofile'),
    path('deleteproduct/<pk>', views.ProductDelete.as_view(), name = 'delete')

]

17efdc9793ca8d3e6f71a079daf3b1e533217c70
<mask token>

<mask token>
app_name = 'product'
urlpatterns = [path('', views.Homeview.as_view(), name='home'), path(
    'login/', views.login1, name='login'), path('signup/', views.SignUpView
    .as_view(), name='signup'), path('update/<pk>', views.ProductUpdate.
    as_view(), name='updateproduct'), path('addproduct/add', views.
    Addproduct.as_view(), name='product-add'), path('<int:product_id>/',
    views.Comment1, name='comment'), path('logout/', views.logout1, name=
    'logout'), path('comments/', views.getcomment, name='comment'), path(
    'rate/', views.getrate, name='rate'), path('<int:product_id>', views.
    sendtofriend, name='send'), path('/', views.send_to_Home, name='/'),
    path('updateprofile/<pk>', views.ProfileUpdate.as_view(), name=
    'updateprofile'), path('deleteproduct/<pk>', views.ProductDelete.
    as_view(), name='delete')]

from django.urls import path
from product import views
app_name = 'product'
urlpatterns = [path('', views.Homeview.as_view(), name='home'), path(
    'login/', views.login1, name='login'), path('signup/', views.SignUpView
    .as_view(), name='signup'), path('update/<pk>', views.ProductUpdate.
    as_view(), name='updateproduct'), path('addproduct/add', views.
    Addproduct.as_view(), name='product-add'), path('<int:product_id>/',
    views.Comment1, name='comment'), path('logout/', views.logout1, name=
    'logout'), path('comments/', views.getcomment, name='comment'), path(
    'rate/', views.getrate, name='rate'), path('<int:product_id>', views.
    sendtofriend, name='send'), path('/', views.send_to_Home, name='/'),
    path('updateprofile/<pk>', views.ProfileUpdate.as_view(), name=
    'updateprofile'), path('deleteproduct/<pk>', views.ProductDelete.
    as_view(), name='delete')]

from django.urls import path
from product import views

app_name = 'product'
urlpatterns = [
    #default url
    path('', views.Homeview.as_view(), name='home'),
    path('login/', views.login1, name='login'),
    path('signup/', views.SignUpView.as_view(), name='signup'),
    path('update/<pk>', views.ProductUpdate.as_view(), name ='updateproduct'),
    path('addproduct/add', views.Addproduct.as_view(), name ='product-add'),
    path('<int:product_id>/', views.Comment1, name='comment'),
    path('logout/',views.logout1, name = 'logout'),
    path('comments/', views.getcomment, name = "comment"),
    path('rate/', views.getrate, name = "rate"),
    path('<int:product_id>', views.sendtofriend, name="send"),
    path('/', views.send_to_Home, name = '/'),
    path('updateprofile/<pk>', views.ProfileUpdate.as_view(), name = 'updateprofile'),
    path('deleteproduct/<pk>', views.ProductDelete.as_view(), name = 'delete')

]
