From 3da50ee86110f6500aa9b61973453934185d8934 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 21 Mar 2017 10:53:12 +0100 Subject: [PATCH] api: augment default pagination page size to 100 (fixes #15622) Pagination was made mandatory by issue #15620, and page size was 10 which is too small. --- src/authentic2/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authentic2/settings.py b/src/authentic2/settings.py index 91c0440..f068a0b 100644 --- a/src/authentic2/settings.py +++ b/src/authentic2/settings.py @@ -284,7 +284,7 @@ REST_FRAMEWORK = { 'rest_framework.filters.OrderingFilter', ), 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', - 'PAGE_SIZE': 10, + 'PAGE_SIZE': 100, } -- 2.1.4