Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…eset works
  • Loading branch information...
commit 06eedeaf59aaf8ceec7582af7be9aec8febc405f 1 parent 3c1b7bf
@matclayton matclayton authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_email_backend.py
View
4 django_email_backend.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.