8000 Moved placeholders from Page to Title model by Aiky30 · Pull Request #6442 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

Moved placeholders from Page to Title model #6442

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

Merged
merged 21 commits into from
Jul 12, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed minor issues in the page admin tests
  • Loading branch information
8000
Andrew Aikman authored and czpython committed Jul 11, 2018
commit 3afdf966850881afadf780487daf3123843142ca
2 changes: 1 addition & 1 deletion cms/tests/test_page_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2437,7 +2437,7 @@ def test_user_cant_revert_non_empty_page_to_live(self):
live_page = page.publisher_public
page_title = page.get_title_obj()
live_page_title = live_page.get_title_obj()
draft_plugins = page.placeholders.get(slot='body').get_plugins(translation.language)
draft_plugins = page_title.placeholders.get(slot='body').get_plugins(translation.language)
live_plugins = live_page.placeholders.get(slot='body').get_plugins(translation.language)

self._add_plugin_to_page(page, language=translation.language)
Expand Down
0