general sync

This commit is contained in:
admin committed 2022-06-19 21:31:03 -04:00
1 parent fcfc7416a5
commit 15e5f763bd
42 files changed
+70 -33

No files matched your search

+3 -2
View File
@@ -1,4 +1,5 @@
from django.db import models
from datetime import datetime
from django.core.mail import send_mail
import os, csv
@@ -38,7 +39,7 @@ class MailMessage(models.Model):
user.email_user(self.subject, self.body, self.attachment)
send_mail(str(self.subject),
str(self.body),
'from@admin.com',
'admin@wvlotterypredictor.xyz',
user_list,
fail_sliently=False)
@@ -49,4 +50,4 @@ class MailMessage(models.Model):
verbose_name = "Emails to send"
verbose_name_plural = "Emails to send"