Skip to main content

Django File Download

Project description

Django File Download

Installation

pip install django-file-download

Urls.py

urlpatterns = [
    url(r'^f/', include('django_file_download.urls', namespace='django_file_download')),
]

or:

from django.conf.urls import include, url
from django_file_download import views as file_views

urlpatterns = [
    url(r'^download$', file_views.file_download, name='file_download'),
]

Settings.py

INSTALLED_APPS = (
    ...
    'django_file_download',
    ...
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-file-download, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size django_file_download-1.0.2-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size django-file-download-1.0.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page