jazzband / django-downloadview

Serve files with Django.
https://django-downloadview.readthedocs.io
Other
386 stars 57 forks source link

django_downloadview.sendfile() function is a port of django-sendfile's main function #41

Closed benoitbryon closed 10 years ago

benoitbryon commented 11 years ago

Implement sendfile function that mimics django-sendfile's signature. Use a StorageDownloadView with FileSystemStorage and settings.SENDFILE_ROOT. Write a "migration guide" in documentation

Optionally, add some middleware which reads settings.SENDFILE_BACKEND, settings.SENDFILE_ROOT and settings.SENDFILE_URL and behave like the corresponding django-downloadview's middleware. Should also raise some "DeprecationWarning".