12 lines
278 B
Python
12 lines
278 B
Python
from __future__ import unicode_literals
|
|
|
|
from ..classes import MailerBackend
|
|
|
|
|
|
class TestBackend(MailerBackend):
|
|
"""
|
|
User mailer backend to use with tests
|
|
"""
|
|
class_path = 'django.core.mail.backends.locmem.EmailBackend'
|
|
label = 'Django local memory backend'
|