Browse Source

Update default paginating to 20 items

master
Joshua Rubingh 9 months ago
parent
commit
54f8d7eb06
  1. 2
      VRE/apps/api/apps.py

2
VRE/apps/api/apps.py

@ -63,7 +63,7 @@ class ApiConfig(AppConfig): @@ -63,7 +63,7 @@ class ApiConfig(AppConfig):
# 'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
# ],
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 10
'PAGE_SIZE': 20
}
if not hasattr(settings, 'SIMPLE_JWT'):

Loading…
Cancel
Save