'Returns page number specified in args, params, or defaults to 1.'

def get_page(self):

    page_kwarg = self.kwargs.get(self.paginator.page_query_param)
    page_query_param = self.request.query_params.get(self.paginator.page_query_param)
    return (page_kwarg or page_query_param or 1)
