alexmorozov / templated-docs

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

Issue with reflecting the same "Type" (such as int,float) in the output .xls #24

Open vishnuprasadb opened 6 years ago

vishnuprasadb commented 6 years ago

Description

I have passed a dictionary of context which I had to display in the excel. Most of them were numbers but in the excel created as the output of templated_docs, these numbers were seen as text and I was not able to do math operations such as "SUM"

Expected result: The type of variable in the Excel as "Integer"

What I Did

No crash. The data was coming as it is exact. But only the "type" is different.

I tried making a template with default Format as "Number" still the same output is repeated