SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit c953075f authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Add search in MailLog admin

parent 14b3dfa7
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ class MailLogAdmin(admin.ModelAdmin):
list_display = ['__str__', 'to_recipients', 'created', 'status']
list_filter = ['status']
readonly_fields = ['created', 'latest_activity']
search_fields = ['to_recipients', 'bcc_recipients', 'from_email', 'subject', 'body']
inlines = [MailLogRelationInline]
actions = [send_email]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment