Django File Download
Project description
django-file-download
Django File Download
Installation
pip install django-file-download
Urls.py
from django.urls import include, re_path
urlpatterns = [
re_path(r'^f/', include('django_file_download.urls', namespace='django_file_download')),
]
or
from django.urls import re_path
from django_file_download import views as file_views
urlpatterns = [
re_path(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
Built Distribution
Close
Hashes for django-file-download-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8729c0d7bc2125b066f000f80ee2907abbc16e57aad0b6740b373b5f5229ff80 |
|
MD5 | 69ed78e8160d32c058c74ead4022b5cc |
|
BLAKE2b-256 | 642a181f0040b0734370cbb4a450f909eb410feb7b8d44a4abbccb89773eac9c |
Close
Hashes for django_file_download-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8394f3dd131f7aa877f2757df4234bbdd03273bd208182b586d05921e864160 |
|
MD5 | 9b3f8a1fcda5f99914fe38c66c380391 |
|
BLAKE2b-256 | 9a243f0c8e85efad92fdb9a945b33ecd08c0929b965774d2fa9fd2dab094a428 |