def handle_product_post_save(sender, instance, **kwargs): bump_product_signal_handler(sender, instance, **kwargs) bump_prices_for_product(instance) for shop_id in set(instance.shop_products.all().values_list("shop_id", flat=True)): context_cache_item_bumped.send(sender=Shop, shop_id=shop_id)
def handle_product_post_save(sender, instance, **kwargs): bump_product_signal_handler(sender, instance, **kwargs) bump_prices_for_product(instance)
def handle_product_post_save(sender, instance, **kwargs): bump_product_signal_handler(sender, instance, **kwargs) bump_prices_for_product(instance)