2018-12-05 20:03:04 +03:00

8 lines
160 B
Python

from django.core.mail import get_connection
from .settings import EMAIL_BACKEND
def get_email_connection():
return get_connection(backend=EMAIL_BACKEND)