From db38644babe2381dcc6599bef4c2607c4558ca65 Mon Sep 17 00:00:00 2001 From: Tuomas Suutari Date: Wed, 20 Sep 2017 09:01:13 +0300 Subject: [PATCH] settings: Change PAGE_SIZE to 100 Dashboard loads more smoothly with a bit bigger page size. --- parkkihubi/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parkkihubi/settings.py b/parkkihubi/settings.py index 4703d3e5..cb0be44b 100644 --- a/parkkihubi/settings.py +++ b/parkkihubi/settings.py @@ -159,7 +159,7 @@ 'ALLOWED_VERSIONS': ('v1',), 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'EXCEPTION_HANDLER': 'parkings.exception_handler.parkings_exception_handler', - 'PAGE_SIZE': 20, + 'PAGE_SIZE': 100, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'TEST_REQUEST_DEFAULT_FORMAT': 'json', }