From 4c600651b643be24592cd791ad60b346e3ad3998 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 5 Feb 2024 19:40:39 +0000 Subject: [PATCH] Actually allow customizing the page size --- website/api/pagination.py | 1 + 1 file changed, 1 insertion(+) diff --git a/website/api/pagination.py b/website/api/pagination.py index 6031b55..43ac7e9 100644 --- a/website/api/pagination.py +++ b/website/api/pagination.py @@ -3,4 +3,5 @@ from rest_framework.pagination import PageNumberPagination class CustomPageNumberPagination(PageNumberPagination): page_size = 10 + page_size_query_param = "page_size" max_page_size = 25