Code cleanup
This commit is contained in:
parent
797a71981c
commit
9d67ab4f69
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -32,4 +32,4 @@ class PostAdminForm(TranslatableModelForm):
|
|||
|
||||
class Meta:
|
||||
model = Post
|
||||
exclude = ()
|
||||
exclude = ()
|
||||
|
|
Loading…
Reference in a new issue