Skip to main content

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 details)

Uploaded Source

Built Distribution

django_file-1.0.6-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: django-file-1.0.6.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for django-file-1.0.6.tar.gz
Algorithm Hash digest
SHA256 f77dd4d923dde0754731377ec5c51703d407197545fa03cc00eff5e4d89e7b0e
MD5 dd0ab1a90e20ea84a799f5995d544fd4
BLAKE2b-256 1ea6cfd511852a69a0593c4c6936893440b9ea56f7ca85fecb2532216a7e7096

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_file-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f15e1a597186b20ff10c2036bbca65bffc6ba99b9b693b51e50336d1708bfb2
MD5 bce2a942ea11e42413894f526010f3be
BLAKE2b-256 5759cf35eb036ca497b4d696522ee0adf8af3bc7391e715c77d23dc0c2085b7b

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