django-commons/drf-excel

Error importing save_virtual_wookbook removed in openpyxl 3.1

Closed this issue · 0 comments

drf_excel.renderers.XLSXRenderer uses openpyxl.writer.excel.save_virtual_workbook which has been deprecated in openpyxl 2.6 (2018) and was removed in openpyxl 3.1.0.

The above causes that projects using this library fail with an import error.

I created #72 to solve this issue. If the proposed solution is not the accepted then It would be great to accept #71 in the meantime.