Projet

Général

Profil

0001-api-augment-default-pagination-page-size-to-100-fixe.patch

Benjamin Dauvergne, 24 mars 2017 15:56

Télécharger (829 octets)

Voir les différences:

Subject: [PATCH] api: augment default pagination page size to 100 (fixes
 #15622)

Pagination was made mandatory by issue #15620, and page size was 10 which is too
small.
 src/authentic2/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2/settings.py
284 284
        'rest_framework.filters.OrderingFilter',
285 285
    ),
286 286
    'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
287
    'PAGE_SIZE': 10,
287
    'PAGE_SIZE': 100,
288 288
}
289 289

  
290 290

  
291
-