From 2b46bef4609422191707c0baabb5f229c078cbe2 Mon Sep 17 00:00:00 2001 From: nathaniel smith Date: Sat, 21 Jan 2017 01:25:02 -0800 Subject: [PATCH] add search fields for townie --- ttadmin/users/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ttadmin/users/admin.py b/ttadmin/users/admin.py index 5be424b..2ff3ce9 100644 --- a/ttadmin/users/admin.py +++ b/ttadmin/users/admin.py @@ -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')