X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/4d60dbcc208a2fdc82b44d475d4ebe764c203072..e17036efc3c8f292703647fc34c79a6610710942:/admin/base.py?ds=inline 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