Flask-dropzone

Latest version: v2.0.0

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

Scan your dependencies

Page 2 of 3

1.5.0

-----
released date: 2018/7/20

* ``action`` in ``dropzone.create()`` can be URL or endpoint, ``action_view`` was deprecated.
* Add support to upload all dropped files when specific button (``name="upload"``) was clicked.
* Add configuration variable ``DROPZONE_UPLOAD_ON_CLICK``, ``DROPZONE_UPLOAD_ACTION``, ``DROPZONE_UPLOAD_BTN_ID``.
* Add configuration variable ``DROPZONE_IN_FORM``, ``DROPZONE_UPLOAD_ACTION`` to support create dropzone inside ``<form>``.
* Add configuration variable ``DROPZONE_TIMEOUT``.
* Add ``custom_init`` and ``custom_options`` parameters in ``dropzone.config()`` to support pass custom JavaScript.

1.4.6

-----
released date: 2018/6/8

* Change built-in resource's url path to ``dropzone/static/...`` to prevent conflict with user's static path.

1.4.4

-----
released date: 2018/5/28

* ``dropzone.load()`` method was deprecated due to inflexible. Now it's divided into three methods:
* Use ``load_css()`` to load css resources.
* Use ``load_js()`` to load js resources.
* Use ``config()`` to configure Dropzone.
* Besides, we recommend user to manage the resources manually.
* Add basic unit tests.

1.4.3

------
released date: 2018/3/23

* Add support to use custom resources with ``js_url`` and ``css_url`` param in ``load()``.
* Fix built-in static bug (`11 <https://github.com/helloflask/flask-dropzone/issues/11>`_).
* Use package instead of module.

1.4.2

------
released date: 2018/2/17

* Add support to integrate with CSRFProtect (enabled via ``DROPZONE_ENABLE_CSRF`` or ``csrf`` flag in ``dropzone.create()``).
* Fix bug: ``False`` in JavaScript.
* Bump built-in resource's version to 5.2.0
* Add ``action`` argument in ``dropzone.create()``. For example, ``dropzone.create(action=url_for('upload'))``.

1.4.1

------

* New configuration options: ``DROPZONE_UPLOAD_MULTIPLE``, ``DROPZONE_PARALLEL_UPLOADS``, ``DROPZONE_REDIRECT_VIEW``.
* Fix local static files bug.
* Add support for automatic redirection when upload was conmplete.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.