comfy/artel/store/urls.py

19 wiersze
816 B
Python
Czysty Zwykły widok Historia

from django.urls import path
from rest_framework.routers import DefaultRouter
from store import views as store_views
router = DefaultRouter()
router.register("cart-action", store_views.CartActionView, "cart-action")
urlpatterns = [
path('product-configure/<int:pk>/', store_views.ConfigureProductView.as_view(), name='product-configure'),
2023-07-20 15:49:12 +00:00
path('product-configure/summary/<int:variant_pk>/', store_views.ConfigureProductSummaryView.as_view(), name='configure-product-summary'),
path('cart/', store_views.CartView.as_view(), name='cart'),
2023-06-01 20:35:14 +00:00
path("order/", store_views.OrderView.as_view(), name="order"),
path("order/confirm/", store_views.OrderConfirmView.as_view(), name="order-confirm"),
path("order/success/", store_views.OrderSuccessView.as_view(), name="order-success")
] + router.urls