ENH: Change default page size (#27)

This commit is contained in:
Matthew Ryan Dillon 2017-09-23 14:35:53 -07:00 committed by GitHub
parent eddec91d48
commit 9b09fe6cc8

View file

@ -140,7 +140,7 @@ REST_FRAMEWORK = {
], ],
'DEFAULT_VERSIONING_CLASS': 'DEFAULT_VERSIONING_CLASS':
'rest_framework.versioning.NamespaceVersioning', 'rest_framework.versioning.NamespaceVersioning',
'PAGE_SIZE': 100, 'PAGE_SIZE': 20,
'EXCEPTION_HANDLER': 'EXCEPTION_HANDLER':
'rest_framework_json_api.exceptions.exception_handler', 'rest_framework_json_api.exceptions.exception_handler',
'DEFAULT_PAGINATION_CLASS': 'DEFAULT_PAGINATION_CLASS':