Commit 338d54e8 authored by Serial Lab's avatar Serial Lab

Added default pagination class.

parent 6a5e94f4
Pipeline #18674584 passed with stage
in 1 minute and 17 seconds
......@@ -54,6 +54,7 @@ REST_FRAMEWORK.update({
'rest_framework.parsers.MultiPartParser',
'rest_framework_xml.parsers.XMLParser',
),
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
'PAGE_SIZE': 20,
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.BasicAuthentication',
......
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