Django-any-imagefield

Latest version: v1.1

Safety actively analyzes 619181 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1

---------------------------

* Fixed ``solr.FixedSorlAdminImageWidget.render()`` method for Django 2.1+

1.0

---------------------------

* Fixed ``render()`` kwargs for Django 2.1

0.9

---------------------------

* Marked Python 3 support.
* Added support for django-filer_ fields.
Note this means your database uses a different field type; a ``ForeignKey`` to it's models.
Hence, this switch can only be done at the start of the project.

0.8.2

------------------------

* Make ``ImagePreviewWidget`` compatible with ``Image`` objects without path attribute

0.8.1

------------------------

* Fixed missing ``url`` property for images when using django-filebrowser-no-grappelli_ instead of Django's ``ImageField``.
This patch is not applied for the django-filebrowser-no-grappelli-django14_ fork, which does provide an ``url`` property.
* Fixed ``format`` setting for certain django-filebrowser forks.
* Added warning to avoid using ``width_field`` and ``height_field`` because not all backends support those.
* Point default filebrowser to https://github.com/smacker/django-filebrowser-no-grappelli-django14,
so ``pip install django-any-imagefield[filebrowser]`` installs that version.

0.8.0

-------------

Initial public release, extracted from the GitHub repository
of ``django-cmsfields`` (nowadays https://github.com/edoburu/django-any-urlfield).

* Support for django-filebrowser-no-grappelli_, which includes a preview and file selector.
* Support for SORL-thumbnail_, which includes a preview
* Support for Django's default ``ImageField``, with a preview added to it.

.. _django-filebrowser-no-grappelli: https://github.com/wardi/django-filebrowser-no-grappelli
.. _django-filebrowser-no-grappelli-django14: https://github.com/smacker/django-filebrowser-no-grappelli-django14
.. _django-filer: https://github.com/divio/django-filer
.. _SORL-thumbnail: https://github.com/sorl/sorl-thumbnail

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.