[Answered ]-How to add headers and footers with django-wkhtmltopdf in my class based views with PDFTemplateResponse

2👍

I found the answer here https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1645 only need put the doctype to each html.

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<img src="http://www.someplaceintheworld/some.png" alt="some logo" />
</body>
</html>

Leave a comment