We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05fc8fa commit 490aba8Copy full SHA for 490aba8
1 file changed
src/apps/api/pagination.py
@@ -26,10 +26,10 @@ def get_paginated_response(self, data):
26
27
class DynamicChoicePagination(PageNumberPagination):
28
"""
29
- Pagination dynamique pour l'UI :
30
- - défaut : 50
31
- - valeurs autorisées côté client : 50, 100, 500, all
32
- - si page_size=all => on renvoie tous les objets (dans la limite de max_page_size)
+ Dynamic pagination :
+ - défaut : 50 objects.
+ - predetermined values : 50, 100, 500, all
+ - if page_size=all => fetch all objects, capped by lax_page_size
33
34
page_size = 50
35
page_size_query_param = 'page_size'
0 commit comments