From 06c9dea6b5d611c6a08f43e24893d539cd5a64be Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Tue, 25 May 2021 23:39:15 +0200 Subject: [PATCH] =?UTF-8?q?N=C3=A1vrat=20console=20->=20smtp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- various/mail_prefixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/various/mail_prefixer.py b/various/mail_prefixer.py index 7b09a81b..94fe5fa9 100644 --- a/various/mail_prefixer.py +++ b/various/mail_prefixer.py @@ -4,7 +4,7 @@ Used to distinguish testing emails from production ones.""" # We try to monkeypatch django.core.mail.backends.smtp :-) -from django.core.mail.backends.console import EmailBackend as DjangoSMTPBackend +from django.core.mail.backends.smtp import EmailBackend as DjangoSMTPBackend from django.conf import settings class PrefixingMailBackend(DjangoSMTPBackend):