douglasmiranda / django-fine-uploader Goto Github PK
View Code? Open in Web Editor NEWSimple, Chunked and Concurrent uploads with Django + Fine Uploader
License: MIT License
Simple, Chunked and Concurrent uploads with Django + Fine Uploader
License: MIT License
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
I'm using the Django's default file storage (django.core.files.storage.DefaultStorage
). But you can change trough the setting FU_FILE_STORAGE
.
I don't think we'll have a problem with django_fine_uploader.fineuploader.SimpleFineUploader
, but I'm not sure about django_fine_uploader.fineuploader.ChunkedFineUploader
. Specially: ChunkedFineUploader.combine_chunks
.
Need to try django-fine-uploader with: https://github.com/jschneier/django-storages
We have the handlers: SimpleFineUploader
and the ChunkedFineUploader
.
I think it's better if I create a BaseFineUploader
, it seems better for extending.
Will do this, and we will see.
Will update here, when we have basic support for python3.
I'm thinking about the flow when uploading, specially when the upload is chunked.
The Django's default file storage, if you didn't change it, is django.core.files.storage.FileSystemStorage
.
And it makes sense, because when I'm using chunked upload, I can combine the chunks very fast. Otherwise, if I'm uploading, even the chunks to amazonS3, I have to download them all to combine them in to the final file. (If I'm not missing something that's the behaviour, right?)
So it seems to me that I have to provide something like a FU_FINAL_FILE_STORAGE
setting, so you can set the storage for your final file to be stored, (your media files server, S3 mostly, I think).
And always(?) store the chunks with django.core.files.storage.FileSystemStorage
, since they are all temporary files.
I'm gonna investigate this issue, if someone has something to offer, please share. =]
Probably 1.8>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.