Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed an unnesscary import of mailer in models.

  • Loading branch information...
commit f7d0e170d16a00d456b9e43ec50d31ce430b871c 1 parent 9e2f2f5
@brosner brosner authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 notification/models.py
View
7 notification/models.py
@@ -27,13 +27,6 @@
from notification import backends
from notification.message import encode_message
-# favour django-mailer but fall back to django.core.mail
-try:
- mailer = models.get_app("mailer")
- from mailer import send_mail
-except ImproperlyConfigured:
- from django.core.mail import send_mail
-
QUEUE_ALL = getattr(settings, "NOTIFICATION_QUEUE_ALL", False)
class LanguageStoreNotAvailable(Exception):
Please sign in to comment.
Something went wrong with that request. Please try again.