Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #101 from josesanch/master
Browse files Browse the repository at this point in the history
Date Hierarchy in admin
  • Loading branch information
dstegelman committed Sep 7, 2017
2 parents f5034d4 + 8fe38db commit 9288c88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mailqueue/admin.py
Expand Up @@ -14,6 +14,7 @@ class MailerAdmin(admin.ModelAdmin):
search_fields = ['to_address', 'subject', 'app', 'cc_address', 'bcc_address', 'reply_to']
actions = ['send_failed']
inlines = [AttachmentInline]
date_hierarchy = "created"

def send_failed(self, request, queryset):
emails = queryset.filter(sent=False)
Expand Down

0 comments on commit 9288c88

Please sign in to comment.