feat(config_management): Add url_kwargs to ConfigGroupSoftware model

ref: #789 #794
This commit is contained in:
2025-06-06 13:51:00 +09:30
parent 9509765ba5
commit 7cc8192ec2

View File

@ -454,6 +454,16 @@ class ConfigGroupSoftware(
]
def get_url_kwargs(self, many = False) -> dict:
kwargs = super().get_url_kwargs(many = many)
kwargs.update({
'config_group_id': self.config_group.id
})
return kwargs
@property
def parent_object(self):
""" Fetch the parent object """