|
|
|
@ -258,8 +258,7 @@ def send_course_access_expire_email(days=None): |
|
|
|
continue |
|
|
|
continue |
|
|
|
print(payment.user.email) |
|
|
|
print(payment.user.email) |
|
|
|
try: |
|
|
|
try: |
|
|
|
#payment.user.email |
|
|
|
send_email('Доступ к курсу скоро закончится', payment.user.email, 'notification/email/course_access_expire.html', |
|
|
|
send_email('Доступ к курсу скоро закончится', 'gzbender74@gmail.com', 'notification/email/course_access_expire.html', |
|
|
|
|
|
|
|
username=payment.user.get_full_name(), course_title=payment.course.title, |
|
|
|
username=payment.user.get_full_name(), course_title=payment.course.title, |
|
|
|
access_duration=payment.access_duration) |
|
|
|
access_duration=payment.access_duration) |
|
|
|
except: |
|
|
|
except: |
|
|
|
|