Skip to content

Commit

Permalink
Added detail_view for OrderedContentSets
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzbrand committed Jan 25, 2024
1 parent 875b0fa commit 80639c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions home/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ class OrderedContentSetViewSet(BaseAPIViewSet):
search_fields = ["name", "profile_fields"]
filter_backends = (SearchFilter,)

def detail_view(self, request, pk):
return super().detail_view(request, pk)


api_router = WagtailAPIRouter("wagtailapi")

Expand Down

0 comments on commit 80639c8

Please sign in to comment.