mirror of https://github.com/snachodog/mybuddy.git
Add simple default pagination to API endpoints.
This commit is contained in:
parent
8eef1574e4
commit
ba1ab676ee
|
@ -118,5 +118,8 @@ REST_FRAMEWORK = {
|
|||
],
|
||||
'DEFAULT_RENDERER_CLASSES': (
|
||||
'rest_framework.renderers.JSONRenderer',
|
||||
)
|
||||
),
|
||||
'DEFAULT_PAGINATION_CLASS':
|
||||
'rest_framework.pagination.LimitOffsetPagination',
|
||||
'PAGE_SIZE': 100
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue