How I go to next word page in docxtpl
? I have template called example.docx
. I gave same variables to all pages. I'm going to change variables from specific page with while loop and random.
I found some examples with docx module.
document = Document()
for section in document.sections:
print(section.start_type)
but it didn't work for docxtemplate
doc = DocxTemplate(document_path)
So anyone know how to go next page with docxtpl?