Permalink
Browse files

django email backend fix, added args/kwargs so things like password r…

…eset works
  • Loading branch information...
matclayton committed Aug 9, 2010
1 parent 3c1b7bf commit 06eedeaf59aaf8ceec7582af7be9aec8febc405f
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_email_backend.py
View
@@ -5,9 +5,9 @@
class GmailBackend(BaseEmailBackend):
- def __init__(self, fail_silently=False):
+ def __init__(self, fail_silently=False, *args, **kwargs):
self.gmail_proxy = GmailProxy(settings.SECRET_KEY, settings.EMAIL_APPENGINE_PROXY_URL, fail_silently)
- super(GmailBackend, self).__init__(fail_silently)
+ super(GmailBackend, self).__init__(fail_silently, *args, **kwargs)
def send_messages(self, messages):
n = 0

0 comments on commit 06eedea

Please sign in to comment.