Skip to content
Snippets Groups Projects
Commit 633561d8 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

updating rest framework pagination settings

parent c0b8c7fa
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,9 @@ SHELL_PLUS_MODEL_ALIASES = {
# Details used by REST API
REST_FRAMEWORK = {
'PAGINATE_BY': 10,
'DEFAULT_PAGINATION_CLASS':
'rest_framework.pagination.LimitOffsetPagination',
'PAGE_SIZE': 10,
'DEFAULT_THROTTLE_RATES': {
'event_creation': '1/second',
'annotation' : '10/second',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment