Django File Relative
Project description
django-file
Django File Relative
Installation
pip install django-file
Usage
from django_file import calculate_md5
def xxx(request):
photo = request.FILES.get('photo', '')
# if photo:
# md5 = calculate_md5(photo)
md5 = calculate_md5(photo)
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-1.0.6.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for django_file-1.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f15e1a597186b20ff10c2036bbca65bffc6ba99b9b693b51e50336d1708bfb2 |
|
MD5 | bce2a942ea11e42413894f526010f3be |
|
BLAKE2b-256 | 5759cf35eb036ca497b4d696522ee0adf8af3bc7391e715c77d23dc0c2085b7b |