Abstraction to offload file uploads to web-server (e.g. Apache with mod_xsendfile) once Django has checked permissions etc

Edit Package python-django-sendfile

This is a wrapper around web-server specific methods for sending files to web clients. This is useful when Django needs to check permissions associated files, but does not want to serve the actual bytes of the file itself. i.e. as serving large files is not what Django is made for.

Note this should not be used for regular file serving (e.g. css etc), only for cases where you need Django to do some work before serving the actual file.

Refresh
Refresh
Source Files
Filename Size Changed
_service 0000000058 58 Bytes
_service:download_files:django-sendfile-0.3.11.tar.gz 0000010486 10.2 KB
python-django-sendfile-django4.0.patch 0000009304 9.09 KB
python-django-sendfile.changes 0000000737 737 Bytes
python-django-sendfile.spec 0000003610 3.53 KB
Latest Revision
Oleg Girko's avatar Oleg Girko (ol) committed (revision 6)
* Tue Aug 16 2022 Oleg Girko <ol@infoserver.lv> 0.3.11-1
- Update to 0.3.11
- Add patch for Django 4.0 compatibility
- Run tests
Comments 0