Django-weasyprint

Latest version: v2.3.1

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

Scan your dependencies

Page 4 of 5

0.5.3

- Use Python 3 compatible import of `urlparse` by Christian Karrié (4eb72cf)

0.5.2

- Fix for `content_type` with WeasyTemplateResponse

0.5.1

- Add `custom_url_fetcher` reading `file://` urls directly from disk or storage
- Add `content_type` to WeasyTemplateResponse
- Fixed example in README (46fc62e)

0.5.0

- Packaging improvements by Thomas Grainger (8baf780)
- Require Django>=1.8

0.4

- Add override for URL fetcher by Thomas Jost (d946d6b)

Overriding the default URL fetcher from Weasyprint is often useful.
For instance, this makes it easy to open local files that are exposed on other
subdomains (CDN…) without having to do a single network request, which makes
the PDF rendering *much* faster.

- Fix for Content-Disposition

0.3

- Add switch for 'attachment' Content-Disposition

Page 4 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.