Skip to main content

Django File Relative

Project description


Django File Relative


pip install django-file


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)

Uploaded source

Built Distribution

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

Uploaded py2 py3

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