From 50d6f1f95ac7055b71a618bb24c526773daf8952 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 6 Jan 2018 19:21:45 -0600 Subject: [PATCH] Let grids be paginated even when they have no model class --- tailbone/grids/core.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tailbone/grids/core.py b/tailbone/grids/core.py index 64547a5a..c5290a31 100644 --- a/tailbone/grids/core.py +++ b/tailbone/grids/core.py @@ -813,9 +813,6 @@ class Grid(object): Paginate the given data set according to current settings, and return the result. """ - if not self.model_class: - return data - # we of course assume our current page is correct, at first pager = self.make_pager(data)