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

Uploaded Source

Built Distribution

django_file-1.0.1-py2.py3-none-any.whl (1.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for django-file-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bee91179d1cc6d02667667884e6f328a60a024cddfbd2385c44626b85ecd1b0e
MD5 cca99e2a6f846c71e18506e2af3d311a
BLAKE2b-256 6430b5d858fe2d6333ba5b9012dccf939337374570b49d27333ea8b625ec1eac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_file-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 689cd10e4c21bbcf966884ac5e0f16b56a9a5482a9f8b7ed3114c8f0e0526cee
MD5 8be4aff7adf66b5e44a4e9663b058110
BLAKE2b-256 82d0bb38596a5d64d97f39b499977c74b558efb0bbc202b6704a6fee63a19d41

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