Add simple default pagination to API endpoints.

This commit is contained in:
Christopher Charbonneau Wells 2017-10-21 17:36:44 -04:00
parent 8eef1574e4
commit ba1ab676ee
1 changed files with 4 additions and 1 deletions

View File

@ -118,5 +118,8 @@ REST_FRAMEWORK = {
],
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',
)
),
'DEFAULT_PAGINATION_CLASS':
'rest_framework.pagination.LimitOffsetPagination',
'PAGE_SIZE': 100
}