From 0f2f291c18f888b9dfc0ff636480a606a3115fc6 Mon Sep 17 00:00:00 2001 From: Aleksey Lobanov Date: Sat, 17 Apr 2021 14:59:26 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BF=D0=B0=D0=B3=D0=B8=D0=BD=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/backend/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 56e9dba..32b39d6 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -128,6 +128,8 @@ REST_FRAMEWORK = { "rest_framework_simplejwt.authentication.JWTAuthentication", ), "DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend"], + "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination", + "PAGE_SIZE": 100, }