Flask-Dropzone
Flask-Dropzone packages Dropzone.js into an extension to add file upload support for Flask. It can create links to serve Dropzone from a CDN and works with no JavaScript code in your application.
Basic Usage
Step 1: Initialize the extension:
from flask_dropzone import Dropzone dropzone = Dropzone(app)
Step 2: In your <head> section of your base template add the following code:
{{ dropzone.include_dropzone() }}
Step 3: Creating a form element with the class dropzone and id myDropzone in the place where you want to upload file:
<form action="{{ url_for('upload_file') }}" class="dropzone" id="myDropzone" method="POST" enctype="multipart/form-data">
</form>
Also to edit the action to your upload address.
More Detail
Go to Github page , which you can check for more details.
Metadata
Release files for Flask-Dropzone 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Flask-Dropzone-1.3.zip | 6.2 kB | Without provenance | Details for Flask-Dropzone-1.3.zip |
Release files / Flask-Dropzone-1.3.zip
| Download URL | Flask-Dropzone-1.3.zip |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3569202847a021216a2c7b2368f61db048923f90e1de0290f69d1e5b231f693c
|
|
BLAKE2b-256 checksum How to use checksums |
26ff65d2799d4a682b52f22632c5de8c34148c2db727894767c836a97ff9b67f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Flask-Dropzone 1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.