X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/9bbc541d5a4a8720fbfa24c081da574cb1822df7..98bd3a178f3e62e5591e809ac61e07a5bf37c292:/admin/base.py?ds=sidebyside diff --git a/admin/base.py b/admin/base.py index d9249e5..a39756a 100644 --- a/admin/base.py +++ b/admin/base.py @@ -27,5 +27,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