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.

Source Distribution

django-file-download-1.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

django_file_download-1.0.2-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.2.tar.gz.

File metadata

  • Download URL: django-file-download-1.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for django-file-download-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a29e6104119037f57e49c328a6c8b86481966ec5d1884e25b640d6e3b005860f
MD5 bcdd58a2c9e26ec31d852db5aff32b92
BLAKE2b-256 48700cac0c732b6f4faeb56a0a22f125e26dd77e98cf83827abee05783fedb4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_file_download-1.0.2-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.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for django_file_download-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 715d0adbe09dd95265e16ba8c03f7f3e55c3b988149b5e11e590b12110c80316
MD5 5030d8924a53af84d3fd58dbcae788ef
BLAKE2b-256 3db3054df7179d21dffe2caf07a7b2a13b06b725dcf740554f4470a1d270f96e

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