From 783fc8580931e7c7f438e715dcf8832a8f1c5b54 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Tue, 25 May 2021 21:48:54 +0200 Subject: [PATCH] =?UTF-8?q?P=C5=99eklep?= 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 b4597ac9..b00c9d56 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 djago.core.mail.backends.smtp import EmailBackend as DjangoSMTPBackend +from django.core.mail.backends.smtp import EmailBackend as DjangoSMTPBackend class PrefixingMailBackend(DjangoSMTPBackend): # method _send is not probably meant to be monkey_patched, so we patch send_messages instead.