python-django-downloadview
Port variant py310
Summary Serve files with Django and reverse-proxies (3.10)
Package version 2.3.0
Homepage https://django-downloadview.readthedocs.io/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v11
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 23 JAN 2023, 06:04:31 UTC
Port created 02 FEB 2018, 15:29:04 UTC
Subpackage Descriptions
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
Configuration Switches (platform-specific settings discarded)
PY310 ON Build using Python 3.10 PY311 OFF Build using Python 3.11
Package Dependencies by Type
Build (only) python-pip:single:py310
autoselect-python:single:standard
Build and Runtime python310:single:standard
Runtime (only) python-Django:single:py310
python-requests:single:py310
Download groups
main mirror://PYPIWHL/c0/1a/af5739ee36e1876be1b24e6071ac12d3ed384bef78b106cdd3e671252e49
Distribution File Information
ad0dd0250f471f2de5d3d5355648ecb8c9f19d13e0a93c13238a111a20828fbb 35973 django_downloadview-2.3.0-py3-none-any.whl
Ports that require python-django-downloadview:py310
No other ports depend on this one.