Commit b1738f18 authored by Maël Kervella's avatar Maël Kervella

Add pagination to API results

parent 59c48759
......@@ -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
......
Markdown is supported
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