From 5a806333069a8dda189de529cc20b6a92564d4cb Mon Sep 17 00:00:00 2001 From: Harpo Harbert Date: Mon, 6 Nov 2023 14:51:47 -0800 Subject: [PATCH] Adds Authors snippet to admin menu --- authors/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authors/models.py b/authors/models.py index 7bad285..300764e 100644 --- a/authors/models.py +++ b/authors/models.py @@ -79,6 +79,7 @@ class AuthorAdmin(SnippetViewSet): add_to_settings_menu = False exclude_from_explorer = False search_fields = ('name', 'bio') + add_to_admin_menu = True register_snippet(Author, viewset=AuthorAdmin)