Commits

Anonymous committed 9239c34

tweaks to fix typo

  • Participants
  • Parent commits bdcdfe4

Comments (0)

Files changed (1)

File registration/models.py

         html_message = render_to_string('registration/activation_email.html',
                                    ctx_dict)                                   
         
-        msg = EmailMultiAlternatives(subject, text_message, settings.DEFAULT_FROM_EMAIL, [user.email])
+        msg = EmailMultiAlternatives(subject, text_message, settings.DEFAULT_FROM_EMAIL, [self.user.email])
         msg.attach_alternative(html_message, "text/html")
         msg.send()