X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/e06925fc9be46b2c07863440212600b2e7ecb597..e17036efc3c8f292703647fc34c79a6610710942:/admin/base.py?ds=inline diff --git a/admin/base.py b/admin/base.py index f8485d2..b7c93d7 100644 --- a/admin/base.py +++ b/admin/base.py @@ -32,6 +32,8 @@ 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