django-easy-pdf icon indicating copy to clipboard operation
django-easy-pdf copied to clipboard

PDF views, the easy way

Results 47 django-easy-pdf issues
Sort by recently updated
recently updated
newest added

As documented, this library does only support loading of local resources in fetch_resources. I would like it to support loading of resources from an external URL. My use-case is loading...

Now supports HTML URIs with relative protocol (starts with `//example.com/image.png`), http:// and https://. This PR would resolve #7.

The current version does not support templates with Sekizai tags. Would the maintainer accept a PR that wraps the `Context` with `SekizaiContext` if Sekizai is an installed app? Otherwise, if...

In my app, the existing implementation of fetch_resources only worked if collectstatic had been run. Using Django's staticfiles.finders.find() is more flexible for different staticfiles configurations.

File "C:\Python312\Lib\site-packages\easy_pdf\views.py", line 9, in from .rendering import render_to_pdf_response File "C:\Python312\Lib\site-packages\easy_pdf\rendering.py", line 11, in from django.utils.http import urlquote ImportError: cannot import name 'urlquote' from 'django.utils.http' (C:\Python312\Lib\site-packages\django\utils\http.py). Did you mean: 'unquote'?

from easy_pdf.views import PDFTemplateView File "C:\Python312\Lib\site-packages\easy_pdf\views.py", line 9, in from .rendering import render_to_pdf_response File "C:\Python312\Lib\site-packages\easy_pdf\rendering.py", line 12, in from django.utils.six import BytesIO ModuleNotFoundError: No module named 'django.utils.six'

am just fixing errors, is there no condition especially among code reviewers, or are they just merging