Change templates

This commit is contained in:
dormantman 2020-01-13 14:34:11 +03:00
parent 9999096320
commit 3506f6b2f0

View File

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