diff --git a/shop/search/documents.py b/shop/search/documents.py index 375e5290c..ce9694f5d 100644 --- a/shop/search/documents.py +++ b/shop/search/documents.py @@ -25,6 +25,7 @@ class Django: model = ProductModel fields = ['id'] ignore_signals = True # performed by ProductModel.update_search_index() + queryset_pagination = 499 # let DRF do the pagination def __str__(self): return "{} {}: {}".format(self.product_type, self.id, self.product_name)