mirror of
https://github.com/pretix/pretix.git
synced 2026-08-19 12:16:26 +00:00
API: Allow to set a custom pagination size
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
from rest_framework.pagination import PageNumberPagination
|
||||
|
||||
|
||||
class Pagination(PageNumberPagination):
|
||||
page_size_query_param = 'page_size'
|
||||
max_page_size = 50
|
||||
Reference in New Issue
Block a user