SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python-django-downloadview rpm build for : OpenSuSE. For other distributions click python-django-downloadview.

Name : python-django-downloadview
Version : 1.2 Vendor : obs://build_opensuse_org/home:tzotsos
Release : 4.1 Date : 2016-05-18 13:53:09
Group : Development/Languages/Python Source RPM : python-django-downloadview-1.2-4.1.src.rpm
Size : 0.09 MB
Packager : (none)
Summary : Serve files with Django and reverse-proxies
Description :

django-downloadview


``django-downloadview`` makes it easy to serve files with Django:

* you manage files with Django (permissions, search, generation, ...);

* files are stored somewhere or generated somehow (local filesystem, remote
storage, memory...);

* ``django-downloadview`` helps you stream the files with very little code;

* ``django-downloadview`` helps you improve performances with reverse proxies,
via mechanisms such as Nginx\'s X-Accel.


*******
Example
*******

Let\'s serve a file stored in a FileField of some model:

.. code:: python

from django.conf.urls import url, url_patterns
from django_downloadview import ObjectDownloadView
from demoproject.download.models import Document # A model with a FileField


download = ObjectDownloadView.as_view(model=Document, file_field=\'file\')

url_patterns = (\'\',
url(\'^download/(?P< slug>[A-Za-z0-9_-]+)/$\', download, name=\'download\'),
)


**********
Ressources
**********

* Documentation: http://django-downloadview.readthedocs.org
* PyPI page: http://pypi.python.org/pypi/django-downloadview
* Code repository: https://github.com/benoitbryon/django-downloadview
* Bugtracker: https://github.com/benoitbryon/django-downloadview/issues
* Continuous integration: https://travis-ci.org/benoitbryon/django-downloadview
* Roadmap: https://github.com/benoitbryon/django-downloadview/issues/milestones

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/tzotsos:/geonode/SLE_12_SP1/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
python-django-downloadview

Requires :
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
python(abi) = 2.7
rpmlib(PayloadIsLzma) <= 4.4.6-1


Content of RPM :
/usr/lib/python2.7/site-packages/django_downloadview
/usr/lib/python2.7/site-packages/django_downloadview-1.2-py2.7.egg-info
/usr/lib/python2.7/site-packages/django_downloadview-1.2-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/django_downloadview-1.2-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/django_downloadview-1.2-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/django_downloadview-1.2-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/django_downloadview-1.2-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/django_downloadview-1.2-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/django_downloadview/__init__.py
/usr/lib/python2.7/site-packages/django_downloadview/__init__.pyc
/usr/lib/python2.7/site-packages/django_downloadview/decorators.py
/usr/lib/python2.7/site-packages/django_downloadview/decorators.pyc
/usr/lib/python2.7/site-packages/django_downloadview/files.py
/usr/lib/python2.7/site-packages/django_downloadview/files.pyc
/usr/lib/python2.7/site-packages/django_downloadview/middlewares.py
/usr/lib/python2.7/site-packages/django_downloadview/middlewares.pyc
/usr/lib/python2.7/site-packages/django_downloadview/nginx.py
/usr/lib/python2.7/site-packages/django_downloadview/nginx.pyc
/usr/lib/python2.7/site-packages/django_downloadview/response.py
/usr/lib/python2.7/site-packages/django_downloadview/response.pyc
/usr/lib/python2.7/site-packages/django_downloadview/test.py
/usr/lib/python2.7/site-packages/django_downloadview/test.pyc
/usr/lib/python2.7/site-packages/django_downloadview/utils.py
/usr/lib/python2.7/site-packages/django_downloadview/utils.pyc
/usr/lib/python2.7/site-packages/django_downloadview/views.py
/usr/lib/python2.7/site-packages/django_downloadview/views.pyc

 
ICM