Skip to content

Commit

Permalink
Collection concepts/mappings view to set instance on request for refe…
Browse files Browse the repository at this point in the history
…rences
  • Loading branch information
snyaggarwal committed Feb 8, 2024
1 parent 315e475 commit f03d120
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/collections/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ def get_queryset(self):
return queryset

def get(self, request, *args, **kwargs):
self.get_object() # to set instance on request for references
return self.list(request, *args, **kwargs)


Expand Down Expand Up @@ -1045,6 +1046,7 @@ def get_queryset(self):
return queryset

def get(self, request, *args, **kwargs):
self.get_object() # to set instance on request for references
return self.list(request, *args, **kwargs)


Expand Down

0 comments on commit f03d120

Please sign in to comment.