Skip to content
Browse files

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

…a Context object

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent f0fbd43 commit 798e6d5663e6505350bf32e1eca52b1428029c6c Georg Bauer committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/views/registration/
2 django/views/registration/
@@ -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, [])
+ send_mail('Password reset on %s' % site_name, t.render(Context(c)), None, [])
class PasswordChangeForm(formfields.Manipulator):
"A form that lets a user change his password."

0 comments on commit 798e6d5

Please sign in to comment.
Something went wrong with that request. Please try again.