diff --git a/website/website/settings.py b/website/website/settings.py index 5dedc2e..764be04 100644 --- a/website/website/settings.py +++ b/website/website/settings.py @@ -125,3 +125,8 @@ STATIC_URL = 'static/' # https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' + +REST_FRAMEWORK = { + 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', + 'PAGE_SIZE': 10 +} \ No newline at end of file