def _get_logs(self):
    my_class = self.__class__
    ct = ContentType.objects.get_for_model(my_class)
    object_logs = ct.logentry_set.filter(object_id=self.id)
    return object_logs
Gets the log entries related to this object.
dataset/ETHPy150Open kapsiry/sikteeri/services/models.py/_get_logs