From c02d639bbb457c38d1c4746e6efe5c381e5373c1 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Wed, 13 Oct 2021 14:08:50 +0200 Subject: [PATCH] Search on galleries title --- photologue_custom/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/photologue_custom/admin.py b/photologue_custom/admin.py index 936f7e9..909117d 100644 --- a/photologue_custom/admin.py +++ b/photologue_custom/admin.py @@ -18,6 +18,7 @@ class GalleryAdmin(GalleryAdminDefault): """ inlines = [GalleryExtendedInline, ] autocomplete_fields = ['photos', ] + search_fields = ['title', ] class PhotoExtendedInline(admin.StackedInline):