Skip to content

Commit 490aba8

Browse files
IdirLISNObada Haddad
authored andcommitted
Update pagination.py
translate a commentary from french to english
1 parent 05fc8fa commit 490aba8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/apps/api/pagination.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ def get_paginated_response(self, data):
2626

2727
class DynamicChoicePagination(PageNumberPagination):
2828
"""
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)
29+
Dynamic pagination :
30+
- défaut : 50 objects.
31+
- predetermined values : 50, 100, 500, all
32+
- if page_size=all => fetch all objects, capped by lax_page_size
3333
"""
3434
page_size = 50
3535
page_size_query_param = 'page_size'

0 commit comments

Comments
 (0)