| in blog | Django on Fundor333 |
|---|---|
| original entry | Make a Excel Django combo |
Sometime you need to import “old data” or other type of stuff from an Excel file into your Django and save it in the correct models. This an impossible task without the correct plugin and you need the correct one.
I use the pyexcel and pyexcel-xls module for this work.
PyExcel is a module where you can import multiple type of file (in our case xls with pyexcel-xls) with one common interface for all the type of files. So, with some editing, you can use this following code not only for xls but for other file type.