Skip to main content

Django File Relative

Project description

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.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

django_file-1.0.2-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-file-1.0.2.tar.gz.

File metadata

  • Download URL: django-file-1.0.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-file-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c1d9dc92997b44aaaf319123b364b7fa04419a3a55509fd49fe5be8e1cc11891
MD5 de7c54c68b3a6e7e6690578404cc9ca9
BLAKE2b-256 efe3f2f52a73e25270fb1f861219735a10fb410e4a0f954ebd07892ec01bf151

See more details on using hashes here.

File details

Details for the file django_file-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_file-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4c48bad4d5690f87ae2c6055a3e443f9bd7923788446b49b6fe5f74f1d4b0e09
MD5 e391155d4d9ebbf95b3f33814ff8f7e9
BLAKE2b-256 f808a8d29dae6380e7e7c67285f6f9ca6f079ebc4e91ac5e86f23188b8f179e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page