From eeed2fe5031841a27117cfd0efe5cc2e03dc5ddb Mon Sep 17 00:00:00 2001 From: j Date: Thu, 31 Aug 2023 18:25:26 +0100 Subject: [PATCH] week search --- app/item/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/item/admin.py b/app/item/admin.py index cc06dd2..08aab60 100644 --- a/app/item/admin.py +++ b/app/item/admin.py @@ -35,6 +35,6 @@ admin.site.register(models.Comment, CommentAdmin) class WeekAdmin(admin.ModelAdmin): - search_fields = ['monday'] + search_fields = ['monday', 'title'] admin.site.register(models.Week, WeekAdmin)