Django cms hide menu item when page is empty

I created a menu using django cms, there is a News menu item. There is a page associated with this "News" menu item, when there is no article in it, this menu item must be hidden from the menu, otherwise it must be visible. The problem is that all articles are deleted on the news page, the menu item is still displayed in the menu until the server is restarted. Can anyone help me figure this out?

+3


source to share


1 answer


Have you read the django cms caching docs? Django cms caching is discussed. Have a look at this

There is also the option to use a cache plugin.



Also check this note in the documentation;

If you disable the cache module, be sure to start the server and clear the cache afterwards.

+2


source







All Articles