Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dummy.py 234B

12345678910
  1. """
  2. Dummy email backend that does nothing.
  3. """
  4. from django.core.mail.backends.base import BaseEmailBackend
  5. class EmailBackend(BaseEmailBackend):
  6. def send_messages(self, email_messages):
  7. return len(list(email_messages))