8000 Fixed #6585 -- Added missing clear cache for menu when page is created by bplociennik · Pull Request #6584 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

Fixed #6585 -- Added missing clear cache for menu when page is created #6584

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
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
Add docstring for test
  • Loading branch information
bplociennik committed Jan 11, 2019
commit 9f2fdd4fbfb7d71d5ab9b85cd92927cd9db777cc
3 changes: 3 additions & 0 deletions cms/tests/test_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ def test_basic_cms_menu(self):
)

def test_show_new_draft_page_in_menu(self):
"""
Test checks if the menu cache is cleaned after create a new draft page.
"""
with self.login_user_context(self.get_superuser()):
page_data_1 = self.get_new_page_data()
response = self.client.post(URL_CMS_PAGE_ADD, page_data_1)
Expand Down
0