Name : python-django-downloadview
| |
Version : 1.2
| Vendor : obs://build_opensuse_org/home:tzotsos
|
Release : 4.1
| Date : 2015-11-21 22:33:00
|
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/openSUSE_13.2/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
python-django-downloadview
Requires :