From 781a873ac39972156925d6d40036e7ecfa7cf803 Mon Sep 17 00:00:00 2001 From: Mandel Olaiya Date: Sat, 9 May 2026 12:48:27 +0200 Subject: [PATCH] Show Contact messages under Snippets --- mandelstudio/wagtail_hooks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")