diff options
author | Russell Keith-Magee <russell@keith-magee.com> | 2010-01-04 12:05:04 +0000 |
---|---|---|
committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-01-04 12:05:04 +0000 |
commit | e07560a88e2bc1f5be2aabec25eca950259f7266 (patch) | |
tree | 993698b699611434f8503d3fd4aea27fa645c5c1 /django/test/utils.py | |
parent | 89ded975fe1ff75b5b2456f4ee7e1256a261108e (diff) | |
download | django-e07560a88e2bc1f5be2aabec25eca950259f7266.tar.gz |
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 'django/test/utils.py')
-rw-r--r-- | django/test/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/utils.py b/django/test/utils.py index 5990e9d07f..1129976e4e 100644 --- a/django/test/utils.py +++ b/django/test/utils.py @@ -43,7 +43,7 @@ def setup_test_environment(): mail.SMTPConnection = locmem.EmailBackend mail.original_email_backend = settings.EMAIL_BACKEND - settings.EMAIL_BACKEND = 'django.core.mail.backends.locmem' + settings.EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend' mail.outbox = [] |