2012-12-04 10:47:37 +00:00
|
|
|
############
|
|
|
|
|
Installation
|
|
|
|
|
############
|
|
|
|
|
|
2013-10-04 16:11:16 +00:00
|
|
|
`django-downloadview` project is open-source, published under BSD license.
|
2012-12-04 10:47:37 +00:00
|
|
|
See :doc:`/about/license` for details.
|
|
|
|
|
|
2013-10-04 16:11:16 +00:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
|
|
If you want to install a development environment, please see :doc:`/dev`
|
|
|
|
|
documentation.
|
|
|
|
|
|
|
|
|
|
System requirements:
|
|
|
|
|
|
|
|
|
|
* Python 2.7
|
2012-12-04 10:47:37 +00:00
|
|
|
|
|
|
|
|
Install the package with your favorite Python installer. As an example, with
|
|
|
|
|
pip:
|
|
|
|
|
|
2013-10-04 16:11:16 +00:00
|
|
|
.. code:: sh
|
2012-12-04 10:47:37 +00:00
|
|
|
|
|
|
|
|
pip install django-downloadview
|
|
|
|
|
|
2013-04-11 13:02:45 +00:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
|
|
Since version 1.1, django-downloadview requires Django>=1.5, which provides
|
|
|
|
|
StreamingHttpResponse.
|
|
|
|
|
|
2012-12-04 10:47:37 +00:00
|
|
|
There is no need to register this application in your Django's
|
|
|
|
|
``INSTALLED_APPS`` setting.
|
|
|
|
|
|
|
|
|
|
Next, you'll have to setup some download view(s). See :doc:`demo project
|
|
|
|
|
<demo>` for examples, and :doc:`API documentation <api/django_downloadview>`.
|
|
|
|
|
|
|
|
|
|
Optionally, you may setup additional :doc:`server optimizations
|
|
|
|
|
<optimizations/index>`.
|
2013-10-04 16:11:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
.. rubric:: Notes & references
|
|
|
|
|
|
|
|
|
|
.. seealso::
|
|
|
|
|
|
|
|
|
|
* :doc:`/settings`
|
|
|
|
|
* :doc:`/about/changelog`
|