def test_delete(self):
        # Get the object to work with
        obj = self.obj

        history = obj.history.latest()

        # Delete the object
        obj.delete()

        # Check for log entries
        self.assertTrue(LogEntry.objects.filter(content_type=history.content_type, object_pk=history.object_pk, action=LogEntry.Action.DELETE).count() == 1, msg="There is one log entry for 'DELETE'")
Deletion is logged correctly.
dataset/ETHPy150Open jjkester/django-auditlog/src/auditlog_tests/tests.py/SimpleModelTest.test_delete