Hi all,

If you have been using the new email backend feature in trunk, you
should be aware that SVN revision 12084 introduces a small, but
backwards-incompatible change.

If you are using Django 1.1 (i.e., Django stable), or you haven't
manually specified EMAIL_BACKEND in your settings file, you will not
be affected by this change. This change only affects users who are
using a recent Django Trunk checkout, AND have manually specified
EMAIL_BACKEND in their settings file. These users will need to make a
small configuration change.

When the email backend feature was committed in revision 11709, the
EMAIL_BACKEND setting was specified at the level of a module. That is,
if you were using the file-based backend, you would have specified:

EMAIL_BACKEND = 'django.core.mail.backends.filebased'

As of revision 12084, this has been modified to be a class-level
specification. You must now specify:

EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'

Rather than specifying the module that contains the email backend
class, you need to specify the full name of the backend class. This
means you need to append ".EmailBackend" to any existing EMAIL_BACKEND
setting.

This has been done to normalize the way that pluggable backends are
defined in Django. At the time that the email backend was committed,
no formal policy had been set regarding conventions for specifying
backends. A policy emerged as a result of the introduction of
session-based messages. Since email backends have not yet been part of
a formal Django release, we have decided to make this change to
maintain consistency between the backends that will be introduced in
v1.2.

Apologies for any inconvenience this causes to those of you on the
bleeding edge.

Yours,
Russ Magee %-)

--

You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.


Reply via email to