Django-downloadview

Latest version: v2.3.0

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

Scan your dependencies

Page 2 of 3

1.9

----------------

- Feature 112 - Introduced support of Django 1.9.

- Feature 113 - Introduced support of Python 3.5.

- Feature 116 - ``HTTPFile`` has ``content_type`` property. It makes
``HTTPDownloadView`` proxy ``Content-Type`` header from remote location.

1.8

----------------

Bugfixes.

- Bugfix 103 - ``PathDownloadView.get_file()`` makes a single call to
``PathDownloadView.get_file()`` (was doing it twice).

- Bugfix 104 - Pass numeric timestamp to Django's ``was_modified_since()``
(was passing a datetime).

1.7

----------------

Bugfixes.

- Bugfix 87 - Filenames with commas are now supported. In download responses,
filename is now surrounded by double quotes.

- Bugfix 97 - ``HTTPFile`` proxies bytes as ``BytesIteratorIO`` (was undecoded
urllib3 file object). ``StringIteratorIO`` has been split into
``TextIteratorIO`` and ``BytesIteratorIO``. ``StringIteratorIO`` is
deprecated but kept for backward compatibility as an alias for
``TextIteratorIO``.

- Bugfix 92 - Run demo using ``make demo runserver`` (was broken).

- Feature 99 - Tox runs project's tests with Python 2.7, 3.3 and 3.4, and with
Django 1.5 to 1.8.

- Refactoring 98 - Refreshed development environment: packaging, Tox and
Sphinx.

1.6

----------------

Python 3 support, development environment refactoring.

- Feature 46: introduced support for Python>=3.3.

- Feature 80: added documentation about "how to serve a file inline VS how to
serve a file as attachment". Improved documentation of views' base options
inherited from ``DownloadMixin``.

- Feature 74: the Makefile in project's repository no longer creates a
virtualenv. Developers setup the environment as they like, i.e. using
virtualenv, virtualenvwrapper or whatever. Tests are run with tox.

1.5

----------------

X-Sendfile support and helpers to migrate for `django-sendfile`.

- Feature 2 - Introduced support of Lighttpd's x-Sendfile.

- Feature 36 - Introduced support of Apache's mod_xsendfile.

- Feature 41 - ``django_downloadview.sendfile`` is a port of
`django-sendfile`'s ``sendfile`` function. The documentation contains notes
about migrating from `django-sendfile` to `django-downloadview`.

1.4

----------------

Bugfixes and documentation features.

- Bugfix 43 - ``ObjectDownloadView`` returns HTTP 404 if model instance's file
field is empty (was HTTP 500).

- Bugfix 7 - Special characters in file names (``Content-Disposition`` header)
are urlencoded. An US-ASCII fallback is also provided.

- Feature 10 - `django-downloadview` is registered on djangopackages.com.

- Feature 65 - INSTALL documentation shows "known good set" (KGS) of versions,
i.e. versions that have been used in test environment.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.