<s> from django . conf import settings <EOL> def get_send_mail ( ) : <EOL> """<STR_LIT>""" <EOL> if "<STR_LIT>" in settings . INSTALLED_APPS : <EOL> from mailer import send_mail <EOL> else : <EOL> from django . core . mail import send_mail as _send_mail <EOL> def send_mail ( * args , ** kwargs ) : <EOL> del kwargs [ "<STR_LIT>" ] <EOL> return _send_mail ( * args , ** kwargs ) <EOL> return send_mail </s>
