Closed floek closed 1 year ago
You can explicitely install the previous version of weasyprint, before django-weasyprint, in order to work around that problem:
pip install weasyprint==58.0
A pull request has been open to fix this: #70.
fixed in v2.2.1
Hi, it seems weasyprint changed its API with v59 and the signature of HTML.render() hast changed. See: https://github.com/Kozea/WeasyPrint/releases/tag/v59.0b1
As a result, django-weasyprint throws an exception with Weasyprint v59:
Maybe you could adapt to the changed API. Thank you!
Best, Floek