Skip to content

Commit

Permalink
feat(information_management): Ability to link Knowledge Base article …
Browse files Browse the repository at this point in the history
…to a Operating System Version

ref: #331 #426 #427 closes #430
  • Loading branch information
jon-nfc committed Dec 21, 2024
1 parent 4b4c534 commit 44158eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/itam/serializers/operating_system_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ def get_url(self, item) -> dict:
'model_id': item.pk
}
),
'knowledge_base': reverse(
"v2:_api_v2_model_kb-list",
request=self._context['view'].request,
kwargs={
'model': self.Meta.model._meta.model_name,
'model_pk': item.pk
}
),
'notes': reverse(
"v2:_api_v2_operating_system_notes-list",
request=self._context['view'].request,
Expand Down

0 comments on commit 44158eb

Please sign in to comment.