Giter VIP home page Giter VIP logo

django-fine-uploader's People

Contributors

derek-adair avatar douglasmiranda avatar elton2048 avatar izimobil avatar plar-work avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-fine-uploader's Issues

Support for Django version:2.0.2

  • django_fine_uploader version:
  • Django version:
  • Python version:
  • Operating System:

Description

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

State of custom File Storages support

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

BaseFineUploader

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.

Python3 support

Will update here, when we have basic support for python3.

File Storage: the upload flow

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. =]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.