8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-20 17:42:26 +00:00

Add pagination to API results

This commit is contained in:
Maël Kervella 2018-04-26 18:41:13 +00:00
parent 59c48759f2
commit b1738f189b

View file

@ -34,7 +34,9 @@ REST_FRAMEWORK = {
),
'DEFAULT_PERMISSION_CLASSES': (
'api.permissions.DefaultACLPermission',
)
),
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 100
}
# API permission settings