A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/wq/django-rest-pandas/commit/1a81adcb8be3a65ae6c2c4b9d15a7661df5dd4d9 below:

ensure no pagination in DRF3 · wq/django-rest-pandas@1a81adc · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+3

-1

lines changed Original file line number Diff line number Diff line change

@@ -28,9 +28,11 @@

28 28 29 29

class PandasMixin(object):

30 30

renderer_classes = PANDAS_RENDERERS

31 -

paginate_by = None

32 31

pandas_serializer_class = PandasSerializer

33 32 33 +

paginate_by = None # DRF 2

34 +

pagination_class = None # DRF 3

35 + 34 36

def with_list_serializer(self, cls):

35 37

if not USE_LIST_SERIALIZERS:

36 38

# Django REST Framework 2 used the instance serializer for lists

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4