This function isn't needed actual, since you can just use the `prevent_indexing` decorator on the `_document_deleted` view.