def invalidate_stored_oembeds(self, sender, instance, created, **kwargs):
ctype = ContentType.objects.get_for_model(instance)<EOL>StoredOEmbed.objects.filter(<EOL>object_id=instance.pk,<EOL>content_type=ctype).delete()<EOL>
A hook for django-based oembed providers to delete any stored oembeds