diff --git a/backend/sophon/settings.py b/backend/sophon/settings.py index 959c95f..2545228 100644 --- a/backend/sophon/settings.py +++ b/backend/sophon/settings.py @@ -144,7 +144,9 @@ REST_FRAMEWORK = { # or allow read-only access for unauthenticated users. 'DEFAULT_PERMISSION_CLASSES': [ 'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly' - ] + ], + 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', + 'PAGE_SIZE': 100, } # Logging