From 800fe4b232f97521573631123b0074fa1c145b29 Mon Sep 17 00:00:00 2001 From: Akiff Manji Date: Mon, 25 Oct 2021 10:22:09 -0700 Subject: [PATCH] Set max paging back to 200 Signed-off-by: Akiff Manji --- server/vcr-server/vcr_server/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/vcr-server/vcr_server/settings.py b/server/vcr-server/vcr_server/settings.py index ec2f14903..7e9982691 100644 --- a/server/vcr-server/vcr_server/settings.py +++ b/server/vcr-server/vcr_server/settings.py @@ -166,7 +166,7 @@ def parse_bool(val): # "DEFAULT_VERSIONING_CLASS": "rest_framework.versioning.NamespaceVersioning", "DEFAULT_PAGINATION_CLASS": "vcr_server.pagination.EnhancedPageNumberPagination", "PAGE_SIZE": int(os.getenv("PAGE_SIZE", "10")), - "MAX_PAGE_SIZE": int(os.getenv("MAX_PAGE_SIZE", "100")), + "MAX_PAGE_SIZE": int(os.getenv("MAX_PAGE_SIZE", "200")), "DEFAULT_AUTHENTICATION_CLASSES": authentication.defaults(), "DEFAULT_PERMISSION_CLASSES": [ "rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly"