summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-01-04 12:05:04 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-01-04 12:05:04 +0000
commite07560a88e2bc1f5be2aabec25eca950259f7266 (patch)
tree993698b699611434f8503d3fd4aea27fa645c5c1 /docs/releases
parent89ded975fe1ff75b5b2456f4ee7e1256a261108e (diff)
Modified the way EMAIL_BACKEND is specified to make it consistent with the new "use the class name" policy for backends.
This is a BACKWARDS-INCOMPATIBLE CHANGE for anyone using a manually specified EMAIL_BACKEND setting. If you have manually specified EMAIL_BACKEND, you will need to append ".EmailBackend" to your existing EMAIL_BACKEND setting. See the django-dev mailing list for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.2.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/releases/1.2.txt b/docs/releases/1.2.txt
index a549bd0cce..d66b79f9c5 100644
--- a/docs/releases/1.2.txt
+++ b/docs/releases/1.2.txt
@@ -286,7 +286,7 @@ connection with which to send e-mail, you can explicitly request an
SMTP connection::
from django.core.mail import get_connection
- connection = get_connection('django.core.mail.backends.smtp')
+ connection = get_connection('django.core.mail.backends.smtp.EmailBackend')
messages = get_notification_email()
connection.send_messages(messages)
@@ -294,7 +294,7 @@ If your call to construct an instance of ``SMTPConnection`` required
additional arguments, those arguments can be passed to the
:meth:`~django.core.mail.get_connection()` call::
- connection = get_connection('django.core.mail.backends.smtp', hostname='localhost', port=1234)
+ connection = get_connection('django.core.mail.backends.smtp.EmailBackend', hostname='localhost', port=1234)
User Messages API
-----------------