add search fields for townie
parent
5532ee7745
commit
2b46bef460
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue