From 149edc1792c790a14bd3af3bd9d59f75c23ef7e0 Mon Sep 17 00:00:00 2001 From: zubair-ce07 Date: Thu, 14 Sep 2023 12:46:16 +0500 Subject: [PATCH] fix: renamed signals to receivers as per new django-oscar version --- .../offer/management/commands/remove_partner_offers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecommerce/extensions/offer/management/commands/remove_partner_offers.py b/ecommerce/extensions/offer/management/commands/remove_partner_offers.py index 31baa3a7bbd..a90af228385 100644 --- a/ecommerce/extensions/offer/management/commands/remove_partner_offers.py +++ b/ecommerce/extensions/offer/management/commands/remove_partner_offers.py @@ -8,7 +8,7 @@ from django.core.management import BaseCommand from django.db.models import signals from django.template.defaultfilters import pluralize -from oscar.apps.offer.signals import delete_unused_related_conditions_and_benefits +from oscar.apps.offer.receivers import delete_unused_related_conditions_and_benefits from oscar.core.loading import get_model from ecommerce.extensions.order.management.commands.prompt import query_yes_no