def mail_managers(subject, message, fail_silently=False, connection=None):
 if (not settings.MANAGERS):
  return
 EmailMessage((u'%s%s' % (settings.EMAIL_SUBJECT_PREFIX, subject)), message, settings.SERVER_EMAIL, [a[1] for a in settings.MANAGERS], connection=connection).send(fail_silently=fail_silently)

def mail_managers ( subject , message , fail_silently = False , connection = None ) : if ( not settings . MANAGERS ) : return EmailMessage ( ( u'%s%s' % ( settings . EMAIL_SUBJECT_PREFIX , subject ) ) , message , settings . SERVER_EMAIL , [ a [ 1 ] for a in settings . MANAGERS ] , connection = connection ) . send ( fail_silently = fail_silently )
sends a message to the managers .