From 9ccc18c6d7d48de631c4f774c31ced87ae333dcc Mon Sep 17 00:00:00 2001 From: Rami Rauch Date: Fri, 16 Jan 2009 20:05:10 +0000 Subject: [PATCH] some minot changes --- htswfrontend/htswfrontend/fctracker/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htswfrontend/htswfrontend/fctracker/models.py b/htswfrontend/htswfrontend/fctracker/models.py index d7ae0d5..3029e09 100644 --- a/htswfrontend/htswfrontend/fctracker/models.py +++ b/htswfrontend/htswfrontend/fctracker/models.py @@ -34,6 +34,7 @@ class Antibody(models.Model): verbose_name_plural = "antibodies" ordering = ["antigene"] class Admin: + search_fields = ['antigene','nickname','catalog','antibodies','source','biology','notes'] list_display = ('antigene','nickname','antibodies','catalog','source','biology','notes') list_filter = ('antibodies','source') fields = ( @@ -54,6 +55,7 @@ class Cellline(models.Model): class Admin: list_display = ('cellline_name','nickname','notes') + search_fields = ['cellline_name','nickname','notes'] fields = ( (None, { 'fields': (('cellline_name','nickname'),('notes'),) -- 2.30.2