- Fixed documentation not rendering on readthedocs.
- Add support for Python 3.11.
- Add support for Django 4.1 and 4.2.
- Dropped support for Python 3.6.
- Dropped support for Python 3.7.
- Supported Python versions are now 3.8, 3.9 and 3.10.
- Supported Django versions are now 3.2 and 4.0.
~.render_pdf
may take a list of templates or a single template. This restores compatibility with pre-v3.0.0 interface.
get_template_name
has been deprecated in favour ofget_template_names
. This does not affect usages whentemplate_name
is defined.get_download_name
has been deprecated. Overridedownload_name
as a property instead.
django_renderpdf.views.PDFView.url_fetcher
is no longer a static method. If you were overriding this method, make sure you remove the@staticmethod
decorator from your implementation.- Improved documentation at RTD.
- Add handling of relative URLs. CSS, image files, and other resources will be resolved using Django's internal URL routing. This includes scenarios like serving static or media files via Django, or serving thing like custom css via custom Django views.
- Drop support for Python 3.5.
- Improve handling of remote
staticfiles
.
- Support Python 3.7 and 3.8.
- Support Django 2.2, 3.0 and 3.1.
- Drop support for Django < 2.2.