def ready(self): from icekit.plugins.oembed_with_caption.models import OEmbedWithCaptionItem pre_save.connect(handle_soundcloud_malformed_widths_for_oembeds, sender=OEmbedWithCaptionItem)