scripts/scipy_migrate.py
changeset 23 3cb3f853a193
parent 22 2294c71a61ea
--- a/scripts/scipy_migrate.py	Wed Nov 11 15:28:46 2009 +0530
+++ b/scripts/scipy_migrate.py	Wed Nov 11 15:36:08 2009 +0530
@@ -27,7 +27,8 @@
 
         subject = 'Update and activate your SciPy.in registration.'
         message = loader.render_to_string(
-            template, dictionary={'activation_key': reg.activation_key})
+            template, dictionary={'activation_key': reg.activation_key,
+                                  'name': reg.user.username})
 
         reg.user.email_user(subject=subject, message=message,
                             from_email='admin@scipy.in')