Skip to content

Commit

Permalink
Removed an unnesscary import of mailer in models.
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Apr 19, 2009
1 parent 9e2f2f5 commit f7d0e17
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions notification/models.py
Expand Up @@ -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):
Expand Down

0 comments on commit f7d0e17

Please sign in to comment.