def METHOD_NAME(sender, instance, *args, **kwargs):
    """
    Signal post-delete in djagno DB will try to remove the editor from demoinfo if it is found.
    """
    demoinfo_editor, _ = api_post(
        "/api/demoinfo/get_editor", "post", data={"email": instance.email}
    )
    editor_info = demoinfo_editor.get("editor", None)
    if editor_info:
        demoinfo_editor = api_post(
            "/api/demoinfo/remove_editor", "post", data={"editor_id": editor_info["id"]}
        )
        logger.info("User deleted.")