Django 文件上传
项目描述
django-file-upload
Django 文件上传
安装
pip install django-file-upload
Urls.py
from django.urls import include, re_path
urlpatterns = [
re_path(r'^f/', include('django_file_upload.urls', namespace='django_file_upload')),
]
或
from django.urls import re_path
from django_file_upload import views as file_views
urlpatterns = [
re_path(r'^upload$', file_views.file_upload, name='file_upload'),
]
Settings.py
INSTALLED_APPS = (
...
'django_file_upload',
...
)
项目详情
关闭
哈希值 用于 django_file_upload-1.1.6-py2.py3-none-any.whl
算法 | 哈希摘要 | |
---|---|---|
SHA256 | b945801ab86a373944fbc7c799cc4daa79dddcbcf6ced0ba69de7d245870ca44 |
|
MD5 | 8958003df269907cd7721c172b7c25f0 |
|
BLAKE2b-256 | dc12c2e4697435a19d17511ec296e9fb0edc82c3e323e0f3220e26c5eeb453a5 |