Skip to content

Commit

Permalink
Disable pagination for causes
Browse files Browse the repository at this point in the history
  • Loading branch information
JElgar committed Oct 1, 2024
1 parent 16feb09 commit 35bcaea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions causes_service/causes/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
class CauseViewSet(viewsets.ReadOnlyModelViewSet):
queryset = Cause.objects.all()
serializer_class = CauseSerializer
pagination_class = None

# TODO Make bulk
@extend_schema("causes_select", request=CauseIdsSerializer)
Expand Down

0 comments on commit 35bcaea

Please sign in to comment.