feat(config_management): Ability to add a host to a config group
!17 #42
This commit is contained in:
@ -125,6 +125,11 @@ class SaveHistory(models.Model):
|
||||
item_parent_pk = self.team.pk
|
||||
item_parent_class = self.team._meta.model_name
|
||||
|
||||
if self._meta.model_name == 'configgrouphosts':
|
||||
|
||||
item_parent_pk = self.group.id
|
||||
item_parent_class = self.group._meta.model_name
|
||||
|
||||
|
||||
if not before:
|
||||
|
||||
|
Reference in New Issue
Block a user