add search fields for townie

This commit is contained in:
nathaniel smith 2017-01-21 01:25:02 -08:00
parent 5532ee7745
commit 2b46bef460

View File

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