Návrat console -> smtp
This commit is contained in:
parent
b74435f0fa
commit
06c9dea6b5
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ Used to distinguish testing emails from production ones."""
|
||||||
|
|
||||||
# We try to monkeypatch django.core.mail.backends.smtp :-)
|
# 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
|
from django.conf import settings
|
||||||
|
|
||||||
class PrefixingMailBackend(DjangoSMTPBackend):
|
class PrefixingMailBackend(DjangoSMTPBackend):
|
||||||
|
|
Loading…
Reference in a new issue