feat: added user order list view
This commit is contained in:
@@ -21,6 +21,7 @@ from web.views.web import (
|
||||
index,
|
||||
manifest,
|
||||
order_detail,
|
||||
orders,
|
||||
product_detail,
|
||||
wishlist,
|
||||
)
|
||||
@@ -33,6 +34,7 @@ i18n_resolvers = i18n_patterns(
|
||||
path(_("categories/<str:slug>/"), category_view, name="category_view"),
|
||||
path(_("products/<int:pk>/<str:slug>/"), product_detail, name="product_detail"),
|
||||
path(_("cart/"), cart_detail, name="cart_detail"),
|
||||
path(_("orders/"), login_required(orders, login_url="/login/"), name="orders"),
|
||||
path(_("order/<str:uuid>/"), order_detail, name="order"),
|
||||
# users
|
||||
path(_("login/"), login, name="login"),
|
||||
|
||||
Reference in New Issue
Block a user