跳转到主要内容

Django File Relative

项目描述

django-file

Django File Relative

安装

pip install django-file

用法

from django_file import calculate_md5

def xxx(request):
    photo = request.FILES.get('photo', '')
    # if photo:
    #     md5 = calculate_md5(photo)
    md5 = calculate_md5(photo)

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

django-file-1.0.6.tar.gz (2.2 kB 查看哈希)

上传时间:

构建分布

django_file-1.0.6-py2.py3-none-any.whl (3.0 kB 查看哈希)

上传时间: Python 2 Python 3

由以下组织支持