Feincms3

Latest version: v5.2.0

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

Scan your dependencies

Page 3 of 11

3.4

~~~~~~~~~~~~~~~~~~~

.. _3.4: https://github.com/matthiask/feincms3/compare/3.3...3.4

- Added a system check verifying that the appropriate ``unique_together`` value
is set when using the ``LanguageAndTranslationOfMixin``.
- Added a system check for the ``app_name`` value of application URLconf
modules.
- Added a system check for the values of ``MenuMixin.MENUS``.
- Slowly start deprecating the :mod:`~feincms3.mixins.TemplateMixin`. (It
probably won't go away for a long time.)

3.3

~~~~~~~~~~~~~~~~~~~

.. _3.3: https://github.com/matthiask/feincms3/compare/3.2...3.3

- Changed the root middleware to not act on 404 responses generated by views,
only on 404 responses generated by resolver failures.
- Removed two deprecated ``PageTypeMixin`` properties (``application`` and
``app_instance_namespace``).
- Added a ``{% maybe_target_blank url %}`` template tag which helps with adding
``target="_blank" rel="noopener"`` to the template when opening third party
links, if you really need this.

3.2

~~~~~~~~~~~~~~~~~~~

.. _3.2: https://github.com/matthiask/feincms3/compare/3.1...3.2

- Added a ``fallback`` keyword argument to
:func:`~feincms3.applications.reverse_app`,
:func:`~feincms3.applications.reverse_any` and
:func:`~feincms3.incubator.root_passthru.reverse_passthru` which offers an
easy way to avoid the ``NoReverseMatch`` exception when a fallback value is
actually OK. This can be used to avoid the
:func:`~feincms3.applications.reverse_fallback` wrapper.
- Upgraded a few code patterns in the docs to use recommended functionality.
- Changed the guides to nudge people towards using middleware instead of
catch-all URLconf patterns.
- Renamed ``feincms3.incubator.root`` to ``feincms3.root.middleware`` and
renamed ``feincms3.incubator.root_passthru`` to ``feincms3.root.passthru``,
thereby making them officially supported.

3.1

~~~~~~~~~~~~~~~~~~~

.. _3.1: https://github.com/matthiask/feincms3/compare/3.0...3.1

- Changed the link color in the inline CKEditor to be readable in dark mode.
- Added a direct dependency on django-js-asset (django-content-editor already
depends on it so it's nothing new) and fixed a deprecation warning in our
usage.
- Added a system check for ``ApplicationType`` instances which errors out if
the referenced URLconf modules cannot be imported.
- Added a few style resets for CKEditor 4 popups so that it works better in the
Django admin's dark mode.
- Added a fallback to :func:`feincms3.pages.AbstractPage.get_absolute_url`
which returns the page's path prefixed with the script prefix if reversing
the URL fails.
- Changed the "Build your CMS" guide to recommend a middleware instead of URLs
and views.
- Added the ``feincms3.incubator.root`` and
``feincms3.incubator.root_passthru`` modules which support using middleware
to render pages.
- Changed the linked CKEditor version to 4.17.2.

3.0

~~~~~~~~~~~~~~~~~~~

.. _3.0: https://github.com/matthiask/feincms3/compare/2.1...3.0

- Introduced a new :class:`feincms3.renderer.RegionRenderer` infrastructure
which merges and replaces :mod:`feincms3.regions` and
:class:`feincms3.renderer.TemplatePluginRenderer`. The new module supports
other template engines and handles subregions without polluting models with
attributes, making it possible to use several renderers in the same project
with differing subregion configurations.

2.1

~~~~~~~~~~~~~~~~~~~

- Exposed the list of content editor regions on
:class:`~feincms3.regions.Regions` as ``regions``. Raised the minimum
django-content-editor version to 6.0.

Page 3 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.