Add LimitOffsetPagination
This commit is contained in:
@@ -232,6 +232,8 @@ REST_FRAMEWORK = {
|
|||||||
'burst': '60/min',
|
'burst': '60/min',
|
||||||
'sustained': '1000/day'
|
'sustained': '1000/day'
|
||||||
},
|
},
|
||||||
|
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
|
||||||
|
'PAGE_SIZE': 10,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Email settings (tested working with gmail)
|
# Email settings (tested working with gmail)
|
||||||
|
|||||||
Reference in New Issue
Block a user