Skip to content

[BUG] PLACEHOLDER_CONF 'default_plugins' functionality removed. #7917

@Ceesvanmook

Description

@Ceesvanmook

Description

We have recently migrated to Django-cms 4, and the placeholder conf settings for default_plugins seem to have been completely removed.
When looking at the source code, and comparing this with older projects running on CMS 3 it seems to have been removed.

We have also found a git commit where the code has been removed:
eef5cbb

Despite it seemingly being removed, docs still have a reference to the PLACEHOLDER_CONF.default_plugins:
https://docs.django-cms.org/en/latest/reference/configuration.html#cms-placeholder-conf

Steps to reproduce

  1. Upgrade to DjangoCMS 4
  2. Create PLACEHOLDER_CONF with 'default_plugins' key.
  3. Nothing happens when rendering the placeholder

Expected behaviour

Fill the page with default plugins when the model is first created or the page is first rendered.

Actual behaviour

Nothing, as the code is removed.

Screenshots

When searching dependencies in DjangoCMS 3
image (1)

When searching dependencies in DjangoCMS 4
image

Additional information (CMS/Python/Django versions)

DjangoCMS version is 4.1.0

Do you want to help fix this issue?

  • Yes, I want to help fix this issue and I will join the channel #pr-reviews on the Discord Server to confirm with the community that a PR is welcome.
  • No, I only want to report the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions