Clarify format of word document in documentation
kevinlinxc opened this issue · comments
Kevin Lin commented
I was confused as to why the code was not working - it turns out I wasn't using the jinja tags around my words that needed to be replaced in the template. This is obvious to those who have worked with Jinja, but it took me an hour to figure out because I am not familiar. I think the example code should specify that the word document needs to have {{company_name}} in the word doc.
Tolo Palmer commented
@kevinlinxc thats a case of read the docs: https://docxtpl.readthedocs.io/en/latest/