From 716de5870a1612632e1a4794fe901f1407234d4e Mon Sep 17 00:00:00 2001 From: Topvennie Date: Fri, 19 Apr 2024 12:52:01 +0200 Subject: [PATCH 1/2] chore: change default page size --- backend/api/views/pagination/basic_pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/views/pagination/basic_pagination.py b/backend/api/views/pagination/basic_pagination.py index 101e55bf..b8d2c0cd 100644 --- a/backend/api/views/pagination/basic_pagination.py +++ b/backend/api/views/pagination/basic_pagination.py @@ -2,7 +2,7 @@ class BasicPagination(PageNumberPagination): - page_size = 20 + page_size = 21 max_page_size = 50 page_size_query_param = 'page_size' page_query_param = 'page' From 0a6fe58b755b94de13e625ab0df9ba36a38864fb Mon Sep 17 00:00:00 2001 From: Topvennie Date: Fri, 19 Apr 2024 12:56:54 +0200 Subject: [PATCH 2/2] chore: even bigger page sizes --- backend/api/views/pagination/basic_pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/views/pagination/basic_pagination.py b/backend/api/views/pagination/basic_pagination.py index b8d2c0cd..20d0512d 100644 --- a/backend/api/views/pagination/basic_pagination.py +++ b/backend/api/views/pagination/basic_pagination.py @@ -2,7 +2,7 @@ class BasicPagination(PageNumberPagination): - page_size = 21 + page_size = 24 max_page_size = 50 page_size_query_param = 'page_size' page_query_param = 'page'