2013-10-21 12:35:06 +00:00
|
|
|
#######
|
|
|
|
|
Install
|
|
|
|
|
#######
|
2012-12-04 10:47:37 +00:00
|
|
|
|
2013-10-04 16:11:16 +00:00
|
|
|
.. note::
|
|
|
|
|
|
2013-10-21 12:35:06 +00:00
|
|
|
If you want to install a development environment, please see :doc:`/dev`.
|
2013-10-04 16:11:16 +00:00
|
|
|
|
|
|
|
|
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-11-24 10:09:50 +00:00
|
|
|
Installing `django-downloadview` will automatically trigger the installation of
|
|
|
|
|
the following requirements:
|
|
|
|
|
|
|
|
|
|
.. literalinclude:: /../setup.py
|
|
|
|
|
:language: python
|
|
|
|
|
:lines: 35
|
|
|
|
|
|
2013-04-11 13:02:45 +00:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
|
|
Since version 1.1, django-downloadview requires Django>=1.5, which provides
|
2013-10-21 12:35:06 +00:00
|
|
|
:py:class:`~django.http.StreamingHttpResponse`.
|
2013-10-04 16:11:16 +00:00
|
|
|
|
|
|
|
|
|
2013-11-24 10:09:50 +00:00
|
|
|
**************************
|
|
|
|
|
Known good set of versions
|
|
|
|
|
**************************
|
|
|
|
|
|
|
|
|
|
`django-downloadview` has been tested in an environment with the following set
|
|
|
|
|
of versions. If something is going wrong with other versions, please report it
|
|
|
|
|
in `django-downloadview's bugtracker`_.
|
|
|
|
|
|
|
|
|
|
.. literalinclude:: /../etc/buildout.cfg
|
|
|
|
|
:language: ini
|
|
|
|
|
:lines: 67-
|
|
|
|
|
|
|
|
|
|
|
2013-10-04 16:11:16 +00:00
|
|
|
.. rubric:: Notes & references
|
|
|
|
|
|
|
|
|
|
.. seealso::
|
|
|
|
|
|
|
|
|
|
* :doc:`/settings`
|
|
|
|
|
* :doc:`/about/changelog`
|
2013-10-21 12:35:06 +00:00
|
|
|
* :doc:`/about/license`
|
2013-11-24 10:09:50 +00:00
|
|
|
|
|
|
|
|
.. target-notes::
|
|
|
|
|
|
|
|
|
|
.. _`django-downloadview's bugtracker`:
|
|
|
|
|
https://github.com/benoitbryon/django-downloadview/issues
|