Remove deprecated <ESP>Backend names

(Deprecated with warnings since v0.8)
This commit is contained in:
medmunds
2017-09-08 16:42:28 -07:00
parent 9c3761c216
commit a67e174f38
10 changed files with 5 additions and 100 deletions

View File

@@ -1,7 +1,7 @@
import warnings
from datetime import datetime
from ..exceptions import AnymailRequestsAPIError, AnymailWarning, AnymailDeprecationWarning
from ..exceptions import AnymailRequestsAPIError, AnymailWarning
from ..message import AnymailRecipientStatus, ANYMAIL_STATUSES
from ..utils import last, combine, get_anymail_setting
@@ -47,15 +47,6 @@ class EmailBackend(AnymailRequestsBackend):
return recipient_status
# Pre-v0.8 naming (deprecated)
class MandrillBackend(EmailBackend):
def __init__(self, **kwargs):
warnings.warn(AnymailDeprecationWarning(
"Please update your EMAIL_BACKEND setting to "
"'anymail.backends.mandrill.EmailBackend'"))
super(MandrillBackend, self).__init__(**kwargs)
class DjrillDeprecationWarning(AnymailWarning, DeprecationWarning):
"""Warning for features carried over from Djrill that will be removed soon"""