'A signal handler to trigger the Celery task to update the
tidied_content field of the given revision'

def on_revision_save(self, sender, instance, **kwargs):

    from .tasks import tidy_revision_content
    tidy_revision_content.delay(instance.pk)
