Code cleanup

This commit is contained in:
Iacopo Spalletti 2014-12-02 14:51:50 +01:00
parent 797a71981c
commit 9d67ab4f69
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ class BlogToolbar(CMSToolbar):
pass
# removing page tags menu, if present, to avoid confusion
try: # pragma: no cover
import djangocms_page_meta
import djangocms_page_tags
menu = self.request.toolbar.get_or_create_menu('page')
pagetags = menu.get_or_create_menu('pagetags', 'tags')
menu.remove_item(pagetags)

View file

@ -32,4 +32,4 @@ class PostAdminForm(TranslatableModelForm):
class Meta:
model = Post
exclude = ()
exclude = ()