Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #371 from uisautomation/make-page-size-in-lists-co…
Browse files Browse the repository at this point in the history
…nfigurable

API: allow specifying page size
  • Loading branch information
msb authored Oct 15, 2018
2 parents fce9f8f + 353b9e3 commit 981577d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

class ListPagination(pagination.CursorPagination):
page_size = 50
page_size_query_param = 'page_size'
max_page_size = 300


class FullTextSearchFilter(filters.SearchFilter):
Expand Down

0 comments on commit 981577d

Please sign in to comment.