from django.urls import path
from . import views

urlpatterns=[
    path('', views.index, name='index'),
    path('gettypes/', views.gettypes, name='types'),
    path('getproducts/', views.getproducts, name='products'),
    path('productdetails/<int:id>', views.productdetails, name='productdetails'),
    path('newproduct/', views.newproduct, name='newproduct'),
    path('newreview/', views.newreview, name='newreview'),
    path('loginmsg/', views.loginmsg, name='loginmsg'),
    path('logoutmsg/', views.logoutmsg, name='logoutmsg')
]
from django.urls import path
from . import views

urlpatterns=[
    path('', views.index, name='index'),
    path('gettypes/', views.gettypes, name='types'),
    path('getproducts/', views.getproducts, name='products'),
    path('productdetails/<int:id>', views.productdetails, name='productdetails'),
    path('newproduct/', views.newproduct, name='newproduct'),
    path('newreview/', views.newreview, name='newreview'),
    path('loginmsg/', views.loginmsg, name='loginmsg'),
    path('logoutmsg/', views.logoutmsg, name='logoutmsg')
]