1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

search for messages in admin

This commit is contained in:
Tre Hom 2018-10-02 16:53:03 -04:00
parent e1bc307e50
commit 6457684c06

View file

@ -107,6 +107,13 @@ class MessageAdmin(admin.ModelAdmin):
'html',
)
actions = [resend_message_received_signal]
search_fields = (
'subject',
'message_id',
'from_header',
'to_header',
'text'
)
if getattr(settings, 'DJANGO_MAILBOX_ADMIN_ENABLED', True):