Skip to main content

A drop-in replacement for django's ImageField that provides a flexible, intuitive and easily-extensible interface for creating new images from the one assigned to the field.

Project description

Github Actions Status Coverage Status Latest Version

A drop-in replacement for django’s ImageField that provides a flexible, intuitive and easily-extensible interface for creating new images from the one assigned to the field.

Click here for a quick overview of what it is, how it works and whether or not it’s the right fit for your project.

Compatibility

  • Python:

    • 3.6

    • 3.7

    • 3.8

    • 3.9

  • Django:

    • 2.0.x

    • 2.1.x

    • 2.2.x

    • 3.0.x

    • 3.1.x

    • 3.2.x

NOTE: Python 3.6 does not have support for Django <= 1.x.

NOTE: The 1.4 release dropped support for Django 1.5.x & 1.6.x.

NOTE: The 1.7 release dropped support for Django 1.7.x.

NOTE: The 2.1 release dropped support for Django 1.9.x.

Documentation

Full documentation available at Read the Docs.

Code

django-versatileimagefield is hosted on github.

Running Tests

If you’re running tests on Mac OSX you’ll need libmagic installed. The recommended way to do this is with homebrew:

$ brew install libmagic

Note: Some systems may also be necessary to install the non-python Pillow build dependencies.

You’ll also need tox:

$ pip install tox

To run the entire django-versatileimagefield test matrix, that is, run all tests on all supported combination of versions of python, django and djangorestframework:

$ tox

If you just want to run tests against a specific tox environment first, run this command to list all available environments:

$ tox -l

Then run this command, substituting {tox-env} with the environment you want to test:

$ tox -e {tox-env}

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-versatileimagefield-2.2.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_versatileimagefield-2.2-py2.py3-none-any.whl (54.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-versatileimagefield-2.2.tar.gz.

File metadata

  • Download URL: django-versatileimagefield-2.2.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for django-versatileimagefield-2.2.tar.gz
Algorithm Hash digest
SHA256 6569d5c3e13c69ab8912ba5100084aa5abcdcffb8d1f5abc085b226e7bbd65b3
MD5 4a5bc889bb0302f78a63845c52b9adc3
BLAKE2b-256 6a151b18adc929592fa05831139b73028d6a2d5d548437bb1c371cfb73a3c7e9

See more details on using hashes here.

File details

Details for the file django_versatileimagefield-2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: django_versatileimagefield-2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for django_versatileimagefield-2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03766f4d2332f192978879fdb196e18c53e6ccef6c55c5c26b59747b76a97288
MD5 f7c6d3606c06156cb4c194fbfff1205c
BLAKE2b-256 f85dc7c7f5396d91dfeb8672619d877d091b80b04e8c3f92e28dc470bf6263cf

See more details on using hashes here.

Supported by

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