From b72ea9ebf9989961c558cd096af82e7c1bede8b1 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Sun, 28 Feb 2021 02:56:12 +0100 Subject: [PATCH] Forgot a warning --- shared/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/views.py b/shared/views.py index 31523bad..a1ffb185 100644 --- a/shared/views.py +++ b/shared/views.py @@ -11,6 +11,8 @@ from shared.autocomplete import ModelSearch class Select2QuerySetView(ModelSearch, autocomplete.Select2QuerySetView): """Compatibility layer between ModelSearch and Select2QuerySetView.""" + paginate_by = None + def get_queryset(self): keywords = self.q.split() return super().search(keywords)