API: leave notes on get_object's future

This commit is contained in:
Klaas van Schelven
2025-09-18 13:21:53 +02:00
parent 3f6e062bed
commit 4d3756f621
4 changed files with 4 additions and 0 deletions

View File

@@ -117,6 +117,7 @@ class IssueViewSet(AtomicRequestMixin, viewsets.ReadOnlyModelViewSet):
"""
DRF's get_object(), but bypass filter_queryset for detail.
"""
# NOTE: alternatively, we just complain hard when a filter is applied to a detail view.
# TODO: copy/paste from events/api_views.py
queryset = self.get_queryset()