forked from jazzband/django-downloadview
-
Notifications
You must be signed in to change notification settings - Fork 0
Generic download views for Django.
License
jojax/django-downloadview
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
################### Django-DownloadView ################### Django-DownloadView provides (class-based) generic download views for Django. .. warning:: This project is experimental. It may be renamed or modified without notices. Example, in some urls.py: .. code-block:: 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<slug>[A-Za-z0-9_-]+)/$', download, name='download'), ) ********** Ressources ********** * online 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
About
Generic download views for Django.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published