Initialize clean CSR inventory repository
This commit is contained in:
7
inventory/api_pagination.py
Normal file
7
inventory/api_pagination.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from rest_framework.pagination import PageNumberPagination
|
||||
|
||||
|
||||
class PagedDeviceResults(PageNumberPagination):
|
||||
page_size = 50
|
||||
page_size_query_param = "page_size"
|
||||
max_page_size = 100
|
||||
Reference in New Issue
Block a user