mails.admin module

mails.admin.send_email(modeladmin, request, queryset)[source]
class mails.admin.MailLogRelationInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of mails.models.MailLogRelation

property media
class mails.admin.MailLogAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.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 = [<class 'mails.admin.MailLogRelationInline'>]
actions = [<function send_email>]
property media