Commit 4352eea6 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

use pagination with page number

parent 163618b9
......@@ -104,7 +104,7 @@ REST_FRAMEWORK = {
'rest_framework.authentication.SessionAuthentication',
# 'rest_framework.authentication.BasicAuthentication',
),
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 100
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment