From 3506f6b2f0daba3881e676253312a71bc8c19ee2 Mon Sep 17 00:00:00 2001 From: dormantman Date: Mon, 13 Jan 2020 14:34:11 +0300 Subject: [PATCH] Change templates --- apps/notification/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/notification/tasks.py b/apps/notification/tasks.py index f2e4ccc3..f5261a82 100644 --- a/apps/notification/tasks.py +++ b/apps/notification/tasks.py @@ -15,7 +15,7 @@ def send_subscribes_update_email(subscriber_id): country_code = subscriber.country_code - html_template = get_template(settings.NEWS_EMAIL_TEMPLATE) + html_template = get_template(settings.NOTIFICATION_SUBSCRIBE_TEMPLATE) year = datetime.now().year socials = list(SiteSettings.objects.with_country().select_related('country')) @@ -55,7 +55,7 @@ def send_unsubscribe_email(subscriber_id): country_code = subscriber.country_code - html_template = get_template(settings.NEWS_EMAIL_TEMPLATE) + html_template = get_template(settings.NOTIFICATION_SUBSCRIBE_TEMPLATE) year = datetime.now().year socials = list(SiteSettings.objects.with_country().select_related('country'))