[Fixed]-Missing Count attribute In Modelviewset

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
}

Leave a comment