Skip to main content

File upload handler for SwampDragon

Project description

File upload handler for SwampDragon

# Installation `pip install swampdragon-fileupload`

Add `swampdragon_upload` to `INSTALLED_APPS`

# Usage

Create a router and extend `FileUploadHandler`

class FileUpload(FileUploadHandler):

route_name = ‘_sdfileupload’

In the above example, the route is set to _sdfileupload.

File post requests should be done to `window.swampDragon.url + '/_sdfileupload/'`

The data returned by the post request will fit the file deserializer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

SwampDragon-fileupload-0.1.1.zip (6.1 kB view details)

Uploaded Source

SwampDragon-fileupload-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file SwampDragon-fileupload-0.1.1.zip.

File metadata

File hashes

Hashes for SwampDragon-fileupload-0.1.1.zip
Algorithm Hash digest
SHA256 432a3dcceef01e5c3f1404cc510c3f2c485febc6cfa2bd25975f5385e8318f72
MD5 23de7e2aacd97d1b22731d0ee2297290
BLAKE2b-256 31149a639f5b90f29345b6e967b489737de9a8cb7508f766ba7b3d14f9a50aec

See more details on using hashes here.

File details

Details for the file SwampDragon-fileupload-0.1.1.tar.gz.

File metadata

File hashes

Hashes for SwampDragon-fileupload-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ce0b7423b85b1affd6478b70f88318e6e0d232a44d347ab7725151274d807f89
MD5 65339cf2367558241d7d20c78005ead7
BLAKE2b-256 8e02ca2a9bb6f165c7cda6e74fd1e6b096de1d18cff81862a6da710e331b62cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page