feat(itim): save_history method added to Cluster TYpe

ref: #605 #627
This commit is contained in:
2025-02-16 23:56:36 +09:30
parent cdf3068b50
commit 6b10795b2d

View File

@ -128,6 +128,19 @@ class ClusterType(TenancyObject):
return self.name
def save_history(self, before: dict, after: dict) -> bool:
from itim.models.cluster_type_history import ClusterTypeHistory
history = super().save_history(
before = before,
after = after,
history_model = ClusterTypeHistory,
)
return history
class Cluster(TenancyObject):