Update tasks.py
This commit is contained in:
parent
d3ac747d88
commit
b573038980
|
|
@ -4,10 +4,9 @@ from celery import shared_task
|
||||||
from django.core.mail import send_mail
|
from django.core.mail import send_mail
|
||||||
from notification.models import Subscriber
|
from notification.models import Subscriber
|
||||||
from news import models
|
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 django.conf import settings
|
||||||
from smtplib import SMTPException
|
from smtplib import SMTPException
|
||||||
from django.template.loader import get_template
|
|
||||||
from django.core.validators import EMPTY_VALUES
|
from django.core.validators import EMPTY_VALUES
|
||||||
from main.models import SiteSettings
|
from main.models import SiteSettings
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user