mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Expanded on the SMTPConnection deprecation notes, and made the deprecation a PendingDeprecationWarning as per the deprecation guidelines.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -105,6 +105,6 @@ class SMTPConnection(_SMTPConnection):
|
||||
import warnings
|
||||
warnings.warn(
|
||||
'mail.SMTPConnection is deprecated; use mail.get_connection() instead.',
|
||||
DeprecationWarning
|
||||
PendingDeprecationWarning
|
||||
)
|
||||
super(SMTPConnection, self).__init__(*args, **kwds)
|
||||
|
||||
Reference in New Issue
Block a user