|
|
|
@ -9,7 +9,6 @@ def send_notify(msg_text, account, tag='none'): |
|
|
|
try: |
|
|
|
MessageQueue.objects.push(msg=msg_text, user=account, tag=tag) |
|
|
|
target_email = account.email |
|
|
|
print('send', target_email, type(target_email), 'from', getattr(settings, 'DEFAULT_FROM_EMAIL')) |
|
|
|
send_mail( |
|
|
|
subject=getattr(settings, 'COMPANY_NAME', 'Djing notify'), |
|
|
|
message=msg_text, |
|
|
|
|