1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 06:49:37 +02:00

pagination! fixed for private

This commit is contained in:
Sean Morley 2024-07-12 09:11:00 -04:00
parent 680a46e798
commit 1929227104
3 changed files with 41 additions and 18 deletions

View file

@ -12,7 +12,7 @@ from .permissions import IsOwnerOrReadOnly, IsPublicReadOnly
from rest_framework.pagination import PageNumberPagination
class StandardResultsSetPagination(PageNumberPagination):
page_size = 6
page_size = 10
page_size_query_param = 'page_size'
max_page_size = 1000