add search fields for townie

pull/5/head
nathaniel smith 2017-01-21 01:25:02 -08:00
parent 5532ee7745
commit 2b46bef460
1 changed files with 1 additions and 0 deletions

View File

@ -25,3 +25,4 @@ class TownieAdmin(admin.ModelAdmin):
ordering = ('reviewed',)
exclude = ('first_name', 'last_name', 'password', 'groups', 'user_permissions', 'last_login')
actions = (bulk_review,)
search_fields = ('username', 'email', 'displayname')