Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mail sending used Template.render, but passed only a dictionary, not …

…a Context object

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 798e6d5663e6505350bf32e1eca52b1428029c6c 1 parent f0fbd43
Georg Bauer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/registration/passwords.py
2  django/views/registration/passwords.py
View
@@ -41,7 +41,7 @@ def save(self, domain_override=None):
'site_name': site_name,
'user': self.user_cache,
}
- send_mail('Password reset on %s' % site_name, t.render(c), None, [self.user_cache.email])
+ send_mail('Password reset on %s' % site_name, t.render(Context(c)), None, [self.user_cache.email])
class PasswordChangeForm(formfields.Manipulator):
"A form that lets a user change his password."
Please sign in to comment.
Something went wrong with that request. Please try again.