diff --git a/src/authentic2/manager/user_views.py b/src/authentic2/manager/user_views.py index d15bbd408..6c50643d0 100644 --- a/src/authentic2/manager/user_views.py +++ b/src/authentic2/manager/user_views.py @@ -342,6 +342,9 @@ class UsersExportView(ExportMixin, UsersView): @property def csv(self): + if hasattr(self._dataset, 'csv'): + # compatiblity for tablib < 0.11 + return self._dataset.csv return self._dataset.export('csv') def get_dataset(self):