10000 render_cms_structure_js tag fails to create new StaticPlaceholder object · Issue #6675 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content
render_cms_structure_js tag fails to create new StaticPlaceholder object #6675
Closed
@jegorami

Description

@jegorami

Summary

If StaticPlaceholder does not yet exist for given site, ValueError is raised:
StaticPlaceholder.site" must be a "Site" instance

The problem is that django manager create method cannot take Site id as a parameter.

Expected behaviour

StaticPlaceholder is created

Actual behaviour

ValueError is raised

Environment

  • Python version:2.7.15
  • Django version:1.11.20
  • django CMS version:3.5.3

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

      0