fix import

dj111
eric 2020-02-14 13:23:44 -05:00
parent 751e822fcf
commit f46937c1c7
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ Functions to send email reminders to users.
import random, time, smtplib
from datetime import datetime
from email.Header import Header
from email.Utils import formataddr, parseaddr
from email.header import Header
from email.utils import formataddr, parseaddr
from django.core.mail import get_connection, EmailMessage
from django.contrib.auth.decorators import login_required
from django.template import loader