Skip to content

Commit

Permalink
feat(itim): External Links to display on cluster details page
Browse files Browse the repository at this point in the history
ref: #450 #452
  • Loading branch information
jon-nfc committed Dec 24, 2024
1 parent b13bfdb commit 0db8361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/itim/serializers/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def get_url(self, item) -> dict:

return {
'_self': item.get_url( request = self._context['view'].request ),
'external_links': reverse("v2:_api_v2_external_link-list", request=self._context['view'].request) + '?cluster=true',
'history': reverse(
"v2:_api_v2_model_history-list",
request=self._context['view'].request,
Expand Down

0 comments on commit 0db8361

Please sign in to comment.