feat(config_management): Add url_kwargs to ConfigGroupSoftware model
ref: #789 #794
This commit is contained in:
@ -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 """
|
||||
|
Reference in New Issue
Block a user