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='filedownload')),
]

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.

Source Distribution

django-file-download-1.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

django_file_download-1.0.1-py2.py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page