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
File details
Details for the file SwampDragon-fileupload-0.1.0.zip.
File metadata
- Download URL: SwampDragon-fileupload-0.1.0.zip
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea5a607313ecd356fdc35ac41cf6a556d096273116141162d275cfd96b36c35a
|
|
| MD5 |
11133cd74e8d930c023d322bbcd69f03
|
|
| BLAKE2b-256 |
a04cc11e08b1e6e2dd28504f564646186a9121b8d841733a8827d461f4c0dc05
|
File details
Details for the file SwampDragon-fileupload-0.1.0.tar.gz.
File metadata
- Download URL: SwampDragon-fileupload-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b96197609bd301abdbeb068b9dd124850ca7b2f854114601a214a4aae0dd6c3
|
|
| MD5 |
e161839df3ec9432e86b422b866bd331
|
|
| BLAKE2b-256 |
61e8e73f9ee4ee6c3f1b6d90c3c3e6f025849b31d4de2de1bb8ee00b34f733f2
|