Thursday, January 14, 2016

Generate excel file with openpyxl in Django

I find this python module quite interesting and useful for my Django project:

openpyxlhttps://openpyxl.readthedocs.org/en/default/

Here is a sample snippet:



It allows the user to generate the excel file and download it.