Change templates
This commit is contained in:
parent
9999096320
commit
3506f6b2f0
|
|
@ -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'))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user