diff --git a/mandelstudio/wagtail_hooks.py b/mandelstudio/wagtail_hooks.py index f81f5ba..1033297 100644 --- a/mandelstudio/wagtail_hooks.py +++ b/mandelstudio/wagtail_hooks.py @@ -11,7 +11,9 @@ class ContactMessageViewSet(SnippetViewSet): icon = "mail" menu_label = "Contact messages" menu_order = 220 - add_to_admin_menu = True + # Keep it discoverable under the Snippets index (like other snippet models), + # instead of creating a separate top-level admin menu item. + add_to_admin_menu = False list_display = ("created_at", "name", "email", "locale", "site") list_filter = ("locale", "site")