Removed biography from searchable items

This commit is contained in:
Zak Timson 2017-08-18 21:25:47 -04:00
parent 258b38cd96
commit 5f71498d26

View File

@ -10,6 +10,6 @@ admin.site.register(Position)
class MemberAdmin(admin.ModelAdmin): class MemberAdmin(admin.ModelAdmin):
list_display = ('name', 'position', 'phone_formatted', 'email', 'front_page', 'joined', 'thumbnail') list_display = ('name', 'position', 'phone_formatted', 'email', 'front_page', 'joined', 'thumbnail')
list_filter = ['position', 'front_page', 'joined'] list_filter = ['position', 'front_page', 'joined']
search_fields = ('biography', 'email', 'joined', 'name', 'position', 'website', 'phone', 'phone_formatted') search_fields = ('email', 'joined', 'name', 'position', 'website', 'phone', 'phone_formatted')
fields = ('image_preview', 'image', 'name', 'position', 'biography', 'phone', 'email', 'website', 'front_page', 'joined') fields = ('image_preview', 'image', 'name', 'position', 'biography', 'phone', 'email', 'website', 'front_page', 'joined')
readonly_fields = ('image_preview',) readonly_fields = ('image_preview',)