diff --git a/apps/news/tasks.py b/apps/news/tasks.py index c3c011d7..98eaa8b1 100644 --- a/apps/news/tasks.py +++ b/apps/news/tasks.py @@ -18,9 +18,9 @@ def send_email_with_news(news_ids): sent_news = models.News.objects.get(id=n) send_mail("G&M News", render_to_string(settings.NEWS_EMAIL_TEMPLATE, - {"title": sent_news.title.get(s.country_code), - "subtitle": sent_news.subtitle.get(s.country_code), - "description": sent_news.description.get(s.country_code), + {"title": sent_news.title.get(s.locale), + "subtitle": sent_news.subtitle.get(s.locale), + "description": sent_news.description.get(s.locale), "code": s.update_code, "domain_uri": settings.DOMAIN_URI}), settings.EMAIL_HOST_USER, [s.send_to], fail_silently=False)