Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render_cms_structure_js tag fails to create new StaticPlaceholder object #6675

Open
jegorami opened this issue Apr 29, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@jegorami
Copy link

commented Apr 29, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.