initial commit
This commit is contained in:
8
core/paginations/cursor.py
Normal file
8
core/paginations/cursor.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from rest_framework.pagination import CursorPagination
|
||||
|
||||
|
||||
class StandardCursorPagination(CursorPagination):
|
||||
page_size = 50
|
||||
page_size_query_param = "limit"
|
||||
cursor_query_param = "cursor"
|
||||
max_page_size = 100
|
||||
Reference in New Issue
Block a user