Commit 0d73a74b authored by Gladys Forte's avatar Gladys Forte

{dev bugfix} custom pagination set to 1000 max

parent ec799e00
...@@ -48,7 +48,7 @@ class DynamicSerializer(serializers.ModelSerializer): ...@@ -48,7 +48,7 @@ class DynamicSerializer(serializers.ModelSerializer):
class CustomPagination(PageNumberPagination): class CustomPagination(PageNumberPagination):
page_size = 10 page_size = 10
max_page_size = 50 max_page_size = 1000
page_query_param = 'page' page_query_param = 'page'
page_size_query_param = 'page_size' page_size_query_param = 'page_size'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment