mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Set an upper limit of 200 on the max page size
This commit is contained in:
parent
2d6dff1a3b
commit
08edbb1b72
@ -9,6 +9,7 @@ from rest_framework.utils.urls import replace_query_param
|
||||
class Pagination(pagination.PageNumberPagination):
|
||||
|
||||
page_size_query_param = 'page_size'
|
||||
max_page_size = 200
|
||||
|
||||
def get_next_link(self):
|
||||
if not self.page.has_next():
|
||||
|
Loading…
Reference in New Issue
Block a user