fdemmer / django-weasyprint

A Django class-based view generating PDF resposes using WeasyPrint
Other
352 stars 53 forks source link

How to combine some PDF files at the end of the rendered HTML to PDF ? #31

Closed pulse-mind closed 5 years ago

pulse-mind commented 5 years ago

At this time I am using django weazyprint to render an HTML to PDF. It works fine, thank you :). I'd like to add at the end of this PDF some PDF files generated by another software. Is it possible ? And how to proceed please ?

freezed commented 5 years ago

Don't you use views in django?

pulse-mind commented 5 years ago

Yes I do.

Le mar. 10 sept. 2019 à 10:14, Fred Z notifications@github.com a écrit :

Don't you use views in django?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fdemmer/django-weasyprint/issues/31?email_source=notifications&email_token=AFJMVS3MUY3LD755W3V5UO3QI5JNXA5CNFSM4IU5KENKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6KH5JA#issuecomment-529825444, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJMVSZYAF62QJ7VEATPI2LQI5JNXANCNFSM4IU5KENA .

freezed commented 5 years ago

This is not a weasyprint matter : add whatever you need in your view and django will render it.

fdemmer commented 5 years ago

You could use pdfrw to append the pages from your "other PDF" to the one generatey by weasyprint. Not a weasyprint or django-weasyprint issue.