X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/d619bfea3c16942826ae2df297f7e1660f63f8ac..e17036efc3c8f292703647fc34c79a6610710942:/admin/base.py?ds=sidebyside diff --git a/admin/base.py b/admin/base.py index 46c7c22..b7c93d7 100644 --- a/admin/base.py +++ b/admin/base.py @@ -34,5 +34,6 @@ class EntityAdmin(admin.ModelAdmin): class TagAdmin(admin.ModelAdmin): list_display = ('name', 'slug') prepopulated_fields = {"slug": ("name",)} + search_fields = ["name"] admin.site.register(Tag, TagAdmin) \ No newline at end of file