File upload handler for SwampDragon
Project description
SwampDragon fileupload
======================
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
======================
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Close
Hashes for SwampDragon-fileupload-0.1.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea5a607313ecd356fdc35ac41cf6a556d096273116141162d275cfd96b36c35a |
|
MD5 | 11133cd74e8d930c023d322bbcd69f03 |
|
BLAKE2b-256 | a04cc11e08b1e6e2dd28504f564646186a9121b8d841733a8827d461f4c0dc05 |
Close
Hashes for SwampDragon-fileupload-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b96197609bd301abdbeb068b9dd124850ca7b2f854114601a214a4aae0dd6c3 |
|
MD5 | e161839df3ec9432e86b422b866bd331 |
|
BLAKE2b-256 | 61e8e73f9ee4ee6c3f1b6d90c3c3e6f025849b31d4de2de1bb8ee00b34f733f2 |