From a01d480dd22c14c946c46d5e19a09d3a71533bfe Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 2 Nov 2021 12:30:44 +0100 Subject: [PATCH] Show games in Admin menu --- media/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/media/admin.py b/media/admin.py index d97238d..8a11026 100644 --- a/media/admin.py +++ b/media/admin.py @@ -161,6 +161,7 @@ class GameAdmin(VersionAdmin, PolymorphicChildModelAdmin): 'players_max', 'comment') search_fields = ('name', 'owner__username', 'duration', 'comment') autocomplete_fields = ('owner',) + show_in_index = True admin_site.register(Author, AuthorAdmin)