  
  
  class DefaultPageSizeKwargView(generics.ListAPIView):
      """
      View for testing default page_size usage
      """
      model = BasicModel
  
  
  class CustomPageSizeKwargView(generics.ListAPIView):
 
</s> remove     View for testing custom page_size usage
 </s> add     View for testing custom paginate_by_param usage </s> remove class CustomPageSizeKwargView(generics.ListAPIView):
 </s> add class PaginateByParamView(generics.ListAPIView): </s> remove     page_size_kwarg = 'ps'


class NonePageSizeKwargView(generics.ListAPIView):
    """
    View for testing None page_size usage
    """
    model = BasicModel
    page_size_kwarg = None
 </s> add     paginate_by_param = 'page_size' </s> remove     Tests for list views with default page size kwarg
 </s> add     Tests for list views without pagination.
    View for testing default paginate_by_param usage
  
  
  class DefaultPageSizeKwargView(generics.ListAPIView):
      """
    View for testing default paginate_by_param usage
      """
      model = BasicModel
  
  
  class CustomPageSizeKwargView(generics.ListAPIView):
keep keep keep keep replace keep keep keep keep keep
 Polishing to page size query parameters & more docs 
rest_framework/tests/pagination.py