Django-content-editor

Latest version: v6.4.2

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

Scan your dependencies

Page 1 of 5

6.4

================

- Stopped showing plugin buttons if user has no permission to add the plugin.
- Added Python 3.11, Django 4.1 and 4.2 to the CI matrix.
- Removed Django 4.0 from the CI (3.2 is still there).
- Added ``Type`` to ``content_editor.models.__all__`` since it is used in
feincms3.
- Tweak the plugin button positioning a bit.
- Added padding to form rows in tabbed fieldsets below 767px.
- Switched to hatchling and ruff.
- Started restoring not only the region but also the collapsed state of inlines
and the vertical scroll position.

6.3

===================

.. _6.3: https://github.com/matthiask/django-content-editor/compare/6.2...6.3

- Increased the ``max-height`` of content editor fieldsets so that stupidly
high fieldsets stay completely visible.
- Changed missing icons to a generic extension icon instead of the question
mark.
- Added a system check for the ``regions`` attribute of content editor inlines.
It verifies that the attribute is either ``None`` or an iterable.

6.2

===================

.. _6.2: https://github.com/matthiask/django-content-editor/compare/6.1...6.2

- Changed the handling of ``formset:added`` and ``formset:removed`` for
compatibility with Django 4.1.
- **POSSIBLY BACKWARDS INCOMPATIBLE:** Disallowed region keys which do not have
the form of an identifer, e.g. ``content-main``. Such keys cannot be used in
templates etc. and are therefore a bad idea.

6.1

===================

.. _6.1: https://github.com/matthiask/django-content-editor/compare/6.0...6.1

- **POSSIBLY BACKWARDS INCOMPATIBLE:** Disallowed region keys starting with an
underscore. It was a bad idea to allow these in the first place and caused
some ... unnecessary interactions when wrapping ``Contents`` in lazy objects.
- Fixed an edge case where multiple machine messages were shown.
- Made it possible to move plugins out of unknown regions even if there is only
one valid region at all.

6.0

===================

.. _6.0: https://github.com/matthiask/django-content-editor/compare/5.1...6.0

- Made the ``inherit_from`` argument to ``contents_for_item`` keyword-only.
- Added an optional ``regions`` argument to ``contents_for_items`` and
``contents_for_item`` which allows passing in a list of ``Region`` objects to
limit the regions fetched.
- Renamed the undocumented ``_regions`` attribute of the ``Contents`` object to
``regions``.

5.1

===================

- Added pre-commit.
- Changed the minimum versions to Django 3.2 and Python 3.8.
- Added compatibility with `django-jazzmin
<https://github.com/farridav/django-jazzmin/>`__.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.