feat: mixin for update forms

This commit is contained in:
2025-01-20 11:40:07 +01:00
parent e540d4cba0
commit df67125599
13 changed files with 227 additions and 120 deletions
+6 -1
View File
@@ -11,7 +11,7 @@ from web.views.components import (
list_wishlisted_products,
update_customer_address,
user_info_component,
wishlist_button,
wishlist_button, change_password_component,
)
from web.views.users import (
login,
@@ -91,6 +91,11 @@ urlpatterns = [
login_required(user_info_component, login_url=_("/login/")),
name="user_info_component",
),
path(
"web/components/change-password/",
login_required(change_password_component, login_url=_("/login/")),
name="change_password_component",
),
# api
path("web/add-cart-item/", add_cart_item, name="add_cart_item"),
path("web/delete-cart-item/<int:pk>/", delete_cart_item, name="delete_cart_item"),