Skip to content

Commit 1a81adc

Browse files
committed
ensure no pagination in DRF3
1 parent 17c4275 commit 1a81adc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rest_pandas/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@
2828

2929
class PandasMixin(object):
3030
renderer_classes = PANDAS_RENDERERS
31-
paginate_by = None
3231
pandas_serializer_class = PandasSerializer
3332

33+
paginate_by = None # DRF 2
34+
pagination_class = None # DRF 3
35+
3436
def with_list_serializer(self, cls):
3537
if not USE_LIST_SERIALIZERS:
3638
# Django REST Framework 2 used the instance serializer for lists

0 commit comments

Comments
 (0)