diff --git a/core/models.py b/core/models.py index 7638cfdb..32f6ae03 100644 --- a/core/models.py +++ b/core/models.py @@ -1185,9 +1185,13 @@ class Wishlist(NiceModel): def bulk_add_products(self, product_uuids): self.products.add(*Product.objects.filter(uuid__in=product_uuids)) + return self + def bulk_remove_products(self, product_uuids): self.products.remove(*Product.objects.filter(uuid__in=product_uuids)) + return self + class DigitalAssetDownload(NiceModel): is_publicly_visible = False