# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-django-downloadview VERSION= 2.5.0 KEYWORDS= python VARIANTS= v13 v14 SDESC[v13]= Serve files with Django and reverse-proxies (3.13) SDESC[v14]= Serve files with Django and reverse-proxies (3.14) HOMEPAGE= https://django-downloadview.readthedocs.io/ CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/6a/92/4df0306aa24a1f1888bca2697475491794a5d29b070104ba823f9583e5aa DISTFILE[1]= django_downloadview-2.5.0-py3-none-any.whl:main DIST_SUBDIR= python-src DF_INDEX= 1 SPKGS[v13]= single SPKGS[v14]= single OPTIONS_AVAILABLE= PY313 PY314 OPTIONS_STANDARD= none VOPTS[v13]= PY313=ON PY314=OFF VOPTS[v14]= PY313=OFF PY314=ON DISTNAME= django_downloadview-2.5.0.dist-info GENERATED= yes [PY313].RUN_DEPENDS_ON= python-Django:single:v13 python-requests:single:v13 [PY313].USES_ON= python:v13,wheel [PY314].RUN_DEPENDS_ON= python-Django:single:v14 python-requests:single:v14 [PY314].USES_ON= python:v14,wheel [FILE:1619:descriptions/desc.single] ################### django-downloadview ################### :alt: Jazzband :alt: GitHub Actions :alt: Coverage ``django-downloadview`` makes it easy to serve files with `Django`_: * you manage files with Django (permissions, filters, 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 or Apache's X-Sendfile. ******* Example ******* Let's serve a file stored in a file field 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 # ObjectDownloadView inherits from django.views.generic.BaseDetailView. download = ObjectDownloadView.as_view(model=Document, file_field='file') url_patterns = ('', url('^download/(?P[A-Za-z0-9_-]+)/$', download, name='download'), ) ********* Resources ********* * Documentation: https://django-downloadview.readthedocs.io * PyPI page: http://pypi.python.org/pypi/django-downloadview * Code repository: https://github.com/jazzband/django-downloadview * Bugtracker: https://github.com/jazzband/django-downloadview/issues * Continuous integration: https://github.com/jazzband/django-downloadview/actions * Roadmap: https://github.com/jazzband/django-downloadview/milestones .. _`Django`: https://djangoproject.com [FILE:132:distinfo] b9faa2e6a24ad521d19f9c16ae99010fcb921a8e9dd4e6db4972df72bdcfe726 36052 python-src/django_downloadview-2.5.0-py3-none-any.whl