From a6b70e4cd678454c629352a371c94bc0ab8fcb89 Mon Sep 17 00:00:00 2001 From: gzbender Date: Thu, 26 Sep 2019 10:11:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B2=D0=B5=D0=B4=D0=BE=D0=BC=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D0=B1=20=D0=BE=D0=BA=D0=BE?= =?UTF-8?q?=D0=BD=D1=87=D0=B0=D0=BD=D0=B8=D0=B8=20=D0=B4=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D1=83=D0=BF=D0=B0=20=D0=BA=20=D0=BA=D1=83=D1=80=D1=81=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/notification/tasks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/notification/tasks.py b/apps/notification/tasks.py index 759ba298..7b582035 100644 --- a/apps/notification/tasks.py +++ b/apps/notification/tasks.py @@ -258,8 +258,7 @@ def send_course_access_expire_email(days=None): continue print(payment.user.email) try: - #payment.user.email - send_email('Доступ к курсу скоро закончится', 'gzbender74@gmail.com', 'notification/email/course_access_expire.html', + send_email('Доступ к курсу скоро закончится', payment.user.email, 'notification/email/course_access_expire.html', username=payment.user.get_full_name(), course_title=payment.course.title, access_duration=payment.access_duration) except: