Skip to content

Commit

Permalink
Deactivate cms_menus.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Aug 23, 2024
1 parent 5956498 commit 6af120c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions djangocms_blog/cms_menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ def modify(self, request, nodes, namespace, root_id, post_cut, breadcrumb):
return nodes


menu_pool.register_modifier(BlogNavModifier)
menu_pool.register_menu(BlogCategoryMenu)
# menu_pool.register_modifier(BlogNavModifier)
# menu_pool.register_menu(BlogCategoryMenu)


def clear_menu_cache(**kwargs):
Expand All @@ -186,6 +186,6 @@ def clear_menu_cache(**kwargs):
menu_pool.clear(all=True)


post_save.connect(clear_menu_cache, sender=BlogCategory)
post_delete.connect(clear_menu_cache, sender=BlogCategory)
post_delete.connect(clear_menu_cache, sender=BlogConfig)
# post_save.connect(clear_menu_cache, sender=BlogCategory)
# post_delete.connect(clear_menu_cache, sender=BlogCategory)
# post_delete.connect(clear_menu_cache, sender=BlogConfig)

0 comments on commit 6af120c

Please sign in to comment.