mirror of
https://github.com/himool/HimoolERP.git
synced 2025-02-26 15:14:31 +08:00
13 lines
312 B
Python
13 lines
312 B
Python
from rest_framework.pagination import PageNumberPagination
|
|
|
|
|
|
class PurchaseReportPagination(PageNumberPagination):
|
|
page_size = 20
|
|
page_query_param = 'page'
|
|
max_page_size = 20
|
|
|
|
|
|
class SalesReportPagination(PageNumberPagination):
|
|
page_size = 20
|
|
page_query_param = 'page'
|
|
max_page_size = 20
|