1
0
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:
Russell Keith-Magee
2009-12-03 14:58:58 +00:00
parent 2552599800
commit 78ad0a61a9
2 changed files with 36 additions and 4 deletions

View File

@@ -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)