Skip to content

Commit

Permalink
ensure no pagination in DRF3
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Mar 19, 2015
1 parent 17c4275 commit 1a81adc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rest_pandas/views.py
Expand Up @@ -28,9 +28,11 @@

class PandasMixin(object):
renderer_classes = PANDAS_RENDERERS
paginate_by = None
pandas_serializer_class = PandasSerializer

paginate_by = None # DRF 2
pagination_class = None # DRF 3

def with_list_serializer(self, cls):
if not USE_LIST_SERIALIZERS:
# Django REST Framework 2 used the instance serializer for lists
Expand Down

0 comments on commit 1a81adc

Please sign in to comment.