L
L
lehubozedo2017-03-08 15:41:42
Django
lehubozedo, 2017-03-08 15:41:42

How and with what to generate documents?

There is a site on django, written by me, there is a need to form an agreement several times a week (several pages of text) with the substitution of data from both parties, some data is always there, others need to be entered.
The format of the output document is not important, there were thoughts about google form, and about generating pdf on django, which is easier and faster, please tell me.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Finger Gross, 2017-03-19
@lehubozedo

1. We take a ready-made document (it’s very difficult to create it from scratch)
2. Open it with either https://python-docx.readthedocs.io/en/latest/
3. Change / paste what you need
4. Save to a file or to the stream with subsequent sending by mail / return via http
PS: there will be difficulties - write (I will send a code example)

A
Adamos, 2017-03-08
@Adamos

HTML with substitution of the required fields + mPDF + NCLNameCaseRu (names are declined in the contract).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question