From 3af1332c497f9e0fd48b5b3b744820c9d3d5a845 Mon Sep 17 00:00:00 2001 From: mxdabc Date: Sat, 13 Apr 2024 13:21:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web/admin.py b/web/admin.py index 91cc185..19b9e28 100644 --- a/web/admin.py +++ b/web/admin.py @@ -24,6 +24,7 @@ class EpgAdmin(admin.ModelAdmin): admin.site.register(Epg,EpgAdmin) class Crawl_logAdmin(admin.ModelAdmin): list_display = ('dt', 'msg', 'level') + search_fields =('msg', ) #来源列表搜索字段 admin.site.register(Crawl_log,Crawl_logAdmin) class Channel_listAdmin(admin.ModelAdmin): list_display = ('inner_channel_id','inner_name','out_channel_id','out_name','source')