first commit
This commit is contained in:
11
cart/urls.py
Normal file
11
cart/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
app_name = 'cart'
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.CartDetailView.as_view(), name='cart_detail'),
|
||||
path('add/', views.CartAddView.as_view(), name='cart_add'),
|
||||
path('remove/<int:product_id>/', views.CartRemoveView.as_view(), name='cart_remove'),
|
||||
path('clear/', views.CartClearView.as_view(), name='cart_clear'),
|
||||
]
|
||||
Reference in New Issue
Block a user