mirror of
https://github.com/Hopiu/django.git
synced 2026-05-23 06:15:56 +00:00
Thanks to Andi Albrecht for his work on this patch, and to everyone else that contributed during design and development. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
9 lines
227 B
Python
9 lines
227 B
Python
"""
|
|
Dummy email backend that does nothing.
|
|
"""
|
|
|
|
from django.core.mail.backends.base import BaseEmailBackend
|
|
|
|
class EmailBackend(BaseEmailBackend):
|
|
def send_messages(self, email_messages):
|
|
return len(email_messages)
|