feat(config_management): add config group software to group history
!22 #43
This commit is contained in:
@ -130,6 +130,11 @@ class SaveHistory(models.Model):
|
||||
item_parent_pk = self.group.id
|
||||
item_parent_class = self.group._meta.model_name
|
||||
|
||||
if self._meta.model_name == 'configgroupsoftware':
|
||||
|
||||
item_parent_pk = self.config_group.id
|
||||
item_parent_class = self.config_group._meta.model_name
|
||||
|
||||
|
||||
if not before:
|
||||
|
||||
|
Reference in New Issue
Block a user