alexmorozov / templated-docs

Generate PDF, MS Word and Excel documents from templates in Django
MIT License
114 stars 57 forks source link

Support of flat xml document format #16

Open jnoortheen opened 7 years ago

jnoortheen commented 7 years ago

Description

when trying to use a template of .fodt format, it throws error that it is not a valid zip file. Upon inspecting code, the fill_template method is written to take only zip file into consideration. I wrote code to consider both kind flat/archive formatted documents. I will create a PR with that.