Skip to content

Commit

Permalink
updates admin to show email address in list-view.
Browse files Browse the repository at this point in the history
  • Loading branch information
birkin committed Sep 20, 2022
1 parent c2dbf23 commit b0c6498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site_checker_app/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class CheckSiteAdmin( admin.ModelAdmin ):
save_on_top = True
list_display = [ 'name', 'partial_url', 'partial_text', 'recent_checked_time', 'recent_checked_result', 'next_check_time' ]
list_display = [ 'name', 'partial_url', 'partial_text', 'recent_checked_result', 'recent_checked_time', 'email_addresses', 'next_check_time' ]
ordering = [ 'name' ]
search_fields = [ 'name', 'url', 'email_addresses' ]
readonly_fields = (
Expand Down

0 comments on commit b0c6498

Please sign in to comment.