0001-user-export-csv-compatiblity-with-tablib-0.11-30091.patch
src/authentic2/manager/user_views.py | ||
---|---|---|
342 | 342 | |
343 | 343 |
@property |
344 | 344 |
def csv(self): |
345 |
if hasattr(self._dataset, 'csv'): |
|
346 |
# compatiblity for tablib < 0.11 |
|
347 |
return self._dataset.csv |
|
345 | 348 |
return self._dataset.export('csv') |
346 | 349 | |
347 | 350 |
def get_dataset(self): |
348 |
- |