SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python-django-downloadview rpm build for : openSUSE Leap 15. For other distributions click python-django-downloadview.

Name : python-django-downloadview
Version : 1.6 Vendor : obs://build_opensuse_org/home:appleonkel
Release : lp150.1.1 Date : 2018-10-31 17:59:36
Group : Development/Languages/Python Source RPM : python-django-downloadview-1.6-lp150.1.1.src.rpm
Size : 0.21 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:/appleonkel:/python/openSUSE_Leap_15.0/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 :
python(abi) = 2.7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/python2.7/site-packages/django_downloadview
/usr/lib/python2.7/site-packages/django_downloadview-1.6-py2.7.egg-info
/usr/lib/python2.7/site-packages/django_downloadview-1.6-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/django_downloadview-1.6-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/django_downloadview-1.6-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/django_downloadview-1.6-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/django_downloadview-1.6-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/django_downloadview-1.6-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/apache
/usr/lib/python2.7/site-packages/django_downloadview/apache/__init__.py
/usr/lib/python2.7/site-packages/django_downloadview/apache/__init__.pyc
/usr/lib/python2.7/site-packages/django_downloadview/apache/decorators.py
/usr/lib/python2.7/site-packages/django_downloadview/apache/decorators.pyc
/usr/lib/python2.7/site-packages/django_downloadview/apache/middlewares.py
/usr/lib/python2.7/site-packages/django_downloadview/apache/middlewares.pyc
/usr/lib/python2.7/site-packages/django_downloadview/apache/response.py
/usr/lib/python2.7/site-packages/django_downloadview/apache/response.pyc
/usr/lib/python2.7/site-packages/django_downloadview/apache/tests.py
/usr/lib/python2.7/site-packages/django_downloadview/apache/tests.pyc
/usr/lib/python2.7/site-packages/django_downloadview/api.py
/usr/lib/python2.7/site-packages/django_downloadview/api.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/exceptions.py
/usr/lib/python2.7/site-packages/django_downloadview/exceptions.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/io.py
There is 64 files more in these RPM.

 
ICM