X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/d7d4d16a3aaf6d572e86c78b45d93b8bb065d23d..98bd3a178f3e62e5591e809ac61e07a5bf37c292:/admin/base.py 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