def mail_admins(subject, message, fail_silently=False):
    if not settings.ADMINS:
        return
    EmailMessage(settings.EMAIL_SUBJECT_PREFIX + subject, message,
                 settings.SERVER_EMAIL, [a[1] for a in settings.ADMINS]
                 ).send(fail_silently=fail_silently)
This can be done much better.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/core/mail.py/mail_admins--crossover with--dataset/ETHPy150Open CamDavidsonPilon/lifelines/lifelines/utils/__init__.py/qth_survival_times