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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: django-file-download-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

File hashes

Hashes for django-file-download-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7e4f6b305ca3ff6e327ecc0386aab0a23b26b15465e76f992c7776a63b73d1fd
MD5 47b1cd0a4b9e6080d647220384e6d1db
BLAKE2b-256 00e6938856b9dcdb6ba0182a39c0351dac24ff1e526049f86d977b8cb0b6d95d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_file_download-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

File hashes

Hashes for django_file_download-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 94a4d47ee6f9cabbac2c28b9bf2c62a08f44eea62dacfb4acff09b5e9889e9ef
MD5 91f5ac483a0bbe7e5255a7d18e858655
BLAKE2b-256 24ded712c474fa91e0ca72832949c6b1a73ae14a4e306aa16f8fecb1e49bf625

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