Files
santeh-ray/orders/urls.py
Azimkin a84b9af926
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
Implement guest buy now checkout
2026-06-15 23:16:10 +02:00

17 lines
510 B
Python

from django.urls import path
from orders import views
app_name = "orders"
urlpatterns = [
path("cart/", views.cart, name="cart"),
path("cart/add/", views.add, name="add"),
path("cart/remove/", views.remove, name="remove"),
path("cart/update-quantity/", views.update_quantity, name="update_quantity"),
path("buy/<int:item_id>/", views.buy_now, name="buy_now"),
path("checkout/", views.checkout, name="checkout"),
path("success/<int:order_id>/", views.success, name="success"),
]