If this isn't set it's possible to set any page size. Let's restrict
this to the value set in settings.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Cc: Andy Doan <andy.doan@linaro.org>
Reviewed-by: Andy Doan <andy.doan@linaro.org>
https://tools.ietf.org/html/rfc5988#section-5
https://developer.github.com/guides/traversing-with-pagination
"""
- page_size = settings.REST_RESULTS_PER_PAGE
+ page_size = max_page_size = settings.REST_RESULTS_PER_PAGE
page_size_query_param = 'per_page'
def get_paginated_response(self, data):