Browse files

Add email as a search field in admin

  • Loading branch information...
1 parent b6c8e0e commit d28cfa9b0dc2b7448836e862dbb720d4d689ae1f @paltman paltman committed Jan 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 pinax/apps/waitinglist/admin.py
View
1 pinax/apps/waitinglist/admin.py
@@ -5,6 +5,7 @@
class WaitingListEntryAdmin(admin.ModelAdmin):
list_display = ["email", "created"]
+ search_fields = ["email"]
admin.site.register(WaitingListEntry, WaitingListEntryAdmin)

0 comments on commit d28cfa9

Please sign in to comment.