Fixed #240: ignored page_size paremeter on artist and favorites list

This commit is contained in:
Eliot Berriot 2018-05-29 23:20:57 +02:00
parent d2c99b9f5d
commit 540c6fb583
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 2 additions and 12 deletions

View file

@ -3,4 +3,4 @@ from rest_framework.pagination import PageNumberPagination
class FunkwhalePagination(PageNumberPagination):
page_size_query_param = 'page_size'
max_page_size = 25
max_page_size = 50