Open Asteri5m opened 5 months ago
output.docx template.docx
A simple example is as follows:
from docxtpl import DocxTemplate template = DocxTemplate('template.docx') context = {'num1': 1, 'num2': 2, 'num3': 3, 'num4': 4, 'num5': 5} template.render(context) template.save('output.docx')
Its input and output are the same without any change:
Python 3.11.4 Django 4.2.4 docxtpl 0.16.7 python-docx 1.1.0
Describe your problem
output.docx template.docx
A simple example is as follows:
Its input and output are the same without any change:
More details about your problem
Python 3.11.4 Django 4.2.4 docxtpl 0.16.7 python-docx 1.1.0