Django-weasyprint

Latest version: v2.4.0

Safety actively analyzes 724051 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

1.0.2.post1

- Pin WeasyPrint<53 due to module path change

1.0.2

- Handle `SCRIPT_NAME` being added to `MEDIA_URL` in Django 3.1
(https://code.djangoproject.com/ticket/25598)

1.0.1

- Fix classifiers and changelog

1.0.0

- Drop Python 2 support: WeasyPrint >= 43 and Django >= 2.2 are required

0.6.0

- Update README to demonstrate override of URL fetcher (65ced6f)
- Fix URL fetcher when used with empty `MEDIA_URL` (fd3fb30, 34)
- Add tests for views and `django_url_fetcher` & tox configuration

0.5.5

- Update signature of `weasyprint.default_url_fetcher` by Vlastimil Zíma (c9abfe8)
- Add `font_config` to handle `font-config` rules

An additional argument called font_config must be provided to handle
`font-config` rules. The same `fonts.FontConfiguration` object must be
used for different CSS objects applied to the same document.

https://weasyprint.readthedocs.io/en/latest/api.html#weasyprint.CSS

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.