Skip to content

Commit

Permalink
feat(config_management): add config group software to group history
Browse files Browse the repository at this point in the history
!22 #43
  • Loading branch information
jon-nfc committed Jun 7, 2024
1 parent 460eff1 commit 1069211
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/core/mixin/history_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ def save(self, *args, **kwargs):
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:

Expand Down

0 comments on commit 1069211

Please sign in to comment.