All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
17 lines
510 B
Python
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"),
|
|
]
|