Skip to content

Commit

Permalink
remove list_filter from EmailAddressAdmin
Browse files Browse the repository at this point in the history
The list filter in EmailAddressAdmin is not necessary because the username is searchable; and because the list filter will look really bad if there are thousands of users.
  • Loading branch information
naringas authored and Baltasar Sanchez committed Jun 2, 2015
1 parent db135dd commit 6ee57a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion account/admin.py
Expand Up @@ -27,7 +27,6 @@ class EmailAddressAdmin(AccountAdmin):

list_display = ["user", "email", "verified", "primary"]
search_fields = ["email", "user__username"]
list_filter = ["user"]


admin.site.register(Account, AccountAdmin)
Expand Down

0 comments on commit 6ee57a8

Please sign in to comment.