FeinCMS Deprecation Timeline¶
This document outlines when various pieces of FeinCMS will be removed or altered in backward incompatible way. Before a feature is removed, a warning will be issued for at least two releases.
- The value of
FEINCMS_REVERSE_MONKEY_PATCHhas been changed to
- Deprecated page manager methods have been removed (
Page.objects.best_match_for_pathshould cover all use cases.
- Deprecated page methods have been removed (
- Request and response processors have to be imported from
feincms.module.page.processors. Additionally, they must be registered individually by using
- Prefilled attributes have been removed. Use Django’s
feincms.views.basehas been moved to
FEINCMS_FRONTEND_EDITING‘s default has been changed to
- The code in
feincms.module.page.modelshas been split up. The admin classes are in
feincms.module.page.modeladmin, the forms in
feincms.module.page.formsnow. Analogous changes have been made to
- The monkeypatch to make Django’s
django.core.urlresolvers.reverse()applicationcontent-aware will be removed. Use
feincms.content.application.models.app_reverse()and the corresponding template tag instead.
- The module
feincms.content.medialibrary.modelswill be replaced by the contents of
feincms.content.medialibrary.v2. The latter uses Django’s
raw_id_fieldssupport instead of reimplementing it badly.
- The legacy views inside
feincms.views.legacywill be removed.
Cleansing the HTML of a rich text content will still be possible, but the cleansing module
feincms.utils.html.cleansewill be removed. When creating a rich text content, the
cleanseargument must be a callable and cannot be
Trueanymore. The cleansing function has been moved into its own package, feincms-cleanse.
Registering extensions using shorthand notation will be not be possible in FeinCMS v1.8 anymore. Use the following method instead:
Page.register_extensions( 'feincms.module.page.extensions.navigation', 'feincms.module.extensions.ct_tracker', )
feincms_navigation_extendedwill be removed. Their functionality is provided by
The function-based generic views aren’t available in Django after v1.4 anymore.
feincms.views.decorators.add_page_to_extra_context()will be removed as well.
feincms.content.medialibrary.v2, which is only an alias for
feincms.content.medialibrary.modelsstarting with FeinCMS v1.7 will be removed.
Page.setup_request()does not do anything anymore and will be removed.
- Fields added through page extensions which haven’t been explicitly added
to the page model admin using
modeladmin.add_extension_optionswill disappear from the admin interface. The automatic collection of fields will be removed.
- All extensions should inherit from
feincms.extensions.Extension. Support for
register(cls, admin_cls)-style functions will be removed in FeinCMS v1.9.
_feincms_extensionsattribute on the page model and on models inheriting
update_rsscontenthave been deprecated.
- The automatic discovery of subclasses of
NavigationExtensionhas been replaced with an explicit mechanism of defining navigation extensions.
Page.cache_keyhas never been used by FeinCMS itself and will therefore be removed in a future release. Comparable functionality has been available for a long time with
- TODO update this