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'))