All checks were successful
Build and Push Docker Image / build (push) Successful in 42s
- Added `Cart` and `CartItem` models with migrations for managing user-specific carts and items - Developed services for cart-related operations: adding, removing, and updating cart items - Built specialized templates (`cart.html`) and styled them with new CSS assets (`cart.css`) - Enabled real-time UI updates via AJAX in shopping cart interactions (`cart.js`) - Modified header to dynamically display cart link with user authentication awareness - Added Leaflet-based interactive map to the contacts page and integrated CSS/JS dependencies - Expanded tests for cart functionality, item detail page cart integration, and contacts page maps
14 lines
323 B
Python
14 lines
323 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"),
|
|
]
|