mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-05-28 00:44:05 +00:00
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
#################################
|
|
Alternatives and related projects
|
|
#################################
|
|
|
|
This document presents other projects that provide similar or complementary
|
|
functionalities. It focuses on differences with django-downloadview.
|
|
|
|
|
|
*************************
|
|
Django's static file view
|
|
*************************
|
|
|
|
`Django has a builtin static file view`_. It can stream files. As explained in
|
|
Django documentation, it is designed for development purposes. For production,
|
|
static files'd better be served by some optimized server.
|
|
|
|
Django-downloadview can replace Django's builtin static file view:
|
|
|
|
* perform actions with Django when receiving download requests: check
|
|
permissions, generate files, gzip, logging, signals...
|
|
* delegate actual download to a reverse proxy for increased performance.
|
|
* disable optimization middlewares or decorators in development, if you want to
|
|
serve files with Django.
|
|
|
|
|
|
**********
|
|
References
|
|
**********
|
|
|
|
.. target-notes::
|
|
|
|
.. _`Django has a builtin static file view`:
|
|
https://docs.djangoproject.com/en/1.4/ref/contrib/staticfiles/#static-file-development-view
|