small changes
This commit is contained in:
1 parent
e983e0cc43
commit
f7dbd02a6c
36 files changed
+704
-16
No files matched your search
@@ -2,7 +2,7 @@ from apps.shop.models import Cart as CartModel
|
||||
|
||||
|
||||
def list_cart(cuser_role_uuid: str, workspace_uuid: str) -> CartModel:
|
||||
return CartModel.objects.filter(sys_ws__uuid=workspace_uuid, cuser_role__uuid=cuser_role_uuid)
|
||||
return CartModel.objects.filter(sys_ws__uuid=workspace_uuid, cuser_role__uuid=cuser_role_uuid).order_by('-created_at')
|
||||
|
||||
|
||||
def clean_cart(cuser_role_uuid: str, workspace_uuid: str) -> CartModel:
|
||||
|
||||
Reference in new issue
Block a user