from django.urls import path

from cart import views

urlpatterns = [
    path("option/", views.CartViewSet.as_view({"post": "add_cart", "get": "list_cart","delete":"del_course","patch":"change_select","put":"change_expire"})),
    path("order/", views.CartViewSet.as_view({"get": "get_select_course"}))
]

7a5bc86127f5fb02de9af7a7815db469eb359e33
<mask token>

<mask token>
urlpatterns = [path('option/', views.CartViewSet.as_view({'post':
    'add_cart', 'get': 'list_cart', 'delete': 'del_course', 'patch':
    'change_select', 'put': 'change_expire'})), path('order/', views.
    CartViewSet.as_view({'get': 'get_select_course'}))]

from django.urls import path
from cart import views
urlpatterns = [path('option/', views.CartViewSet.as_view({'post':
    'add_cart', 'get': 'list_cart', 'delete': 'del_course', 'patch':
    'change_select', 'put': 'change_expire'})), path('order/', views.
    CartViewSet.as_view({'get': 'get_select_course'}))]

from django.urls import path

from cart import views

urlpatterns = [
    path("option/", views.CartViewSet.as_view({"post": "add_cart", "get": "list_cart","delete":"del_course","patch":"change_select","put":"change_expire"})),
    path("order/", views.CartViewSet.as_view({"get": "get_select_course"}))
]
