mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-19 19:46:38 +08:00
HyperKitty: activate pagination in the API
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -300,6 +300,7 @@ Q_CLUSTER = {
|
||||
#
|
||||
REST_FRAMEWORK = {
|
||||
'PAGE_SIZE': 10,
|
||||
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
|
||||
'DEFAULT_RENDERER_CLASSES': [
|
||||
'rest_framework.renderers.JSONRenderer',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user