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.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

django_file_download-1.0.0-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-file-download-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django-file-download-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6a61d16a4c3f12dec58227e93a85dc7e3f1c5fef1c14ac271235728178420281
MD5 2737689238477e482e32bdff30e59103
BLAKE2b-256 05c15ae2400bb837977c7efd1848db2556b9a6611f0af54d68a04d7081f6f34f

See more details on using hashes here.

File details

Details for the file django_file_download-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_file_download-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e464e295f0724c746b67c355777ec1c4abc7b15e0fa511657d5c429e9d306964
MD5 cad840998087f6b2c01415ec8f0cb431
BLAKE2b-256 ef91afa472162ef1c99417d5225f9a3e5e87782151497db6ca9b343b16143151

See more details on using hashes here.

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