from django.urls import path
from . import views
app_name = "products"

urlpatterns = [
    path('', views.index, name="index"),
    path('addtocart/<int:productid>',
         views.addtocart, name="addtocarts")
    # path('new', views.newproducts),


]

2e60e390f70176844a723d06123d9f98ad38c637
<mask token>

<mask token>
app_name = 'products'
urlpatterns = [path('', views.index, name='index'), path(
    'addtocart/<int:productid>', views.addtocart, name='addtocarts')]

from django.urls import path
from . import views
app_name = 'products'
urlpatterns = [path('', views.index, name='index'), path(
    'addtocart/<int:productid>', views.addtocart, name='addtocarts')]

from django.urls import path
from . import views
app_name = "products"

urlpatterns = [
    path('', views.index, name="index"),
    path('addtocart/<int:productid>',
         views.addtocart, name="addtocarts")
    # path('new', views.newproducts),


]
