1👍
✅
I think you are missing the PAGE_SIZE
setting. Please refer this.
REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 100
}
Source:stackexchange.com