Update tasks.py

This commit is contained in:
e.stoyushko 2019-10-09 09:46:23 +00:00
parent d3ac747d88
commit b573038980

View File

@ -4,10 +4,9 @@ from celery import shared_task
from django.core.mail import send_mail
from notification.models import Subscriber
from news import models
from django.template.loader import render_to_string
from django.template.loader import render_to_string, get_template
from django.conf import settings
from smtplib import SMTPException
from django.template.loader import get_template
from django.core.validators import EMPTY_VALUES
from main.models import SiteSettings