skip to navigation
skip to content

django-file-md5 1.0.1

Django File Md5

Django File Md5

Installation

pip install django-file-md5

Usage

from filemd5 import calculate_md5

def xxx(request):
    photo = request.FILES.get('photo', '')
    # if photo:
    #     md5 = calculate_md5(photo)
    md5 = calculate_md5(photo)
 
File Type Py Version Uploaded on Size
django-file-md5-1.0.1.tar.gz (md5) Source 2017-03-23 1KB
django_file_md5-1.0.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-03-23 2KB